Skip to content

Commit 8a7cae0

Browse files
vudaltsovnicolas-grekas
authored andcommitted
Update GroupSequence.php
Corrected the docblock example
1 parent 5038ff3 commit 8a7cae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Constraints/GroupSequence.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* When validating a group sequence, each group will only be validated if all
2020
* of the previous groups in the sequence succeeded. For example:
2121
*
22-
* $validator->validate($address, null, new GroupSequence('Basic', 'Strict'));
22+
* $validator->validate($address, null, new GroupSequence(['Basic', 'Strict']));
2323
*
2424
* In the first step, all constraints that belong to the group "Basic" will be
2525
* validated. If none of the constraints fail, the validator will then validate

0 commit comments

Comments
 (0)