Update GroupSequence.php

Corrected the docblock example
This commit is contained in:
Valentin Udaltsov 2016-09-06 01:03:05 +03:00 committed by Nicolas Grekas
parent 39905fd807
commit c8f3741eba

View File

@ -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