8000 minor #19862 Update GroupSequence.php (vudaltsov) · symfony/symfony@8a9b287 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8a9b287

Browse files
minor #19862 Update GroupSequence.php (vudaltsov)
This PR was submitted for the 3.0 branch but it was merged into the 2.7 branch instead (closes #19862). Discussion ---------- Update GroupSequence.php | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | no | License | MIT | Doc PR | no Corrected the docblock example Commits ------- c8f3741 Update GroupSequence.php
2 parents 39905fd + c8f3741 commit 8a9b287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/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(array('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)
0