Project

General

Profile

Bug #103007

Updated by Albrecht Köhnlein 10 months ago

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

 <pre> 
     /** 
      * Performs a logical conjunction of the two multiple 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 multiple given constraints. The method 
      * takes an arbitrary number of constraints and concatenates them with a boolean OR. 
      */ 
     public function logicalOr(ConstraintInterface ...$constraints): OrInterface; 
 </pre>

Back