Project

General

Profile

Actions

Bug #103007

closed

Outdated PHPdoc comment for logicalAnd() and logicalOr()

Added by Albrecht Köhnlein 4 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-01-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The comment says "... the two given constraints ..." while in fact, any number is allowed

    /**
     * Performs a logical conjunction of the two given constraints. The method
     * takes an arbitrary number of constraints and concatenates them with a boolean AND.
     */
    public function logicalAnd(ConstraintInterface ...$constraints): AndInterface;

    /**
     * Performs a logical disjunction of the two given constraints. The method
     * takes an arbitrary number of constraints and concatenates them with a boolean OR.
     */
    public function logicalOr(ConstraintInterface ...$constraints): OrInterface;
Actions

Also available in: Atom PDF