Issue Bug Closed

#103007Outdated PHPdoc comment for logicalAnd() and logicalOr()

Albrecht Köhnlein 01/31/24, 19:20 updated 07/09/24, 15:12

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;

Reviews 2