Update GroupSequence.php
Corrected the docblock example
This commit is contained in:
parent
39905fd807
commit
c8f3741eba
@ -19,7 +19,7 @@ use Symfony\Component\Validator\Exception\OutOfBoundsException;
|
||||
* When validating a group sequence, each group will only be validated if all
|
||||
* of the previous groups in the sequence succeeded. For example:
|
||||
*
|
||||
* $validator->validate($address, null, new GroupSequence('Basic', 'Strict'));
|
||||
* $validator->validate($address, null, new GroupSequence(['Basic', 'Strict']));
|
||||
*
|
||||
* In the first step, all constraints that belong to the group "Basic" will be
|
||||
* validated. If none of the constraints fail, the validator will then validate
|
||||
|
Reference in New Issue
Block a user