minor #32044 [Validator] Fix GroupSequenceProvider annotation (enumag)

This PR was squashed before being merged into the 3.4 branch (closes #32044).

Discussion
----------

[Validator] Fix GroupSequenceProvider annotation

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

The possibility was added in https://github.com/symfony/symfony/pull/19982, just forgot to fix this annotation back then.

Commits
-------

bf6d2532de [Validator] Fix GroupSequenceProvider annotation
This commit is contained in:
Fabien Potencier 2019-06-20 08:43:36 +02:00
commit 6fcd319d78
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class GroupSequence
/**
* The groups in the sequence.
*
* @var string[]|array[]|GroupSequence[]
* @var string[]|string[][]|GroupSequence[]
*/
public $groups;

View File

@ -22,7 +22,7 @@ interface GroupSequenceProviderInterface
* Returns which validation groups should be used for a certain state
* of the object.
*
* @return string[]|GroupSequence An array of validation groups
* @return string[]|string[][]|GroupSequence An array of validation groups
*/
public function getGroupSequence();
}