Skip to content

Commit 984cda4

Browse files
committed
improve docblocks around group sequences
1 parent 98d78f4 commit 984cda4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Extension/Validator/Constraints/FormValidator.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private static function allowDataWalking(FormInterface $form)
211211
/**
212212
* Returns the validation groups of the given form.
213213
*
214-
* @return array The validation groups
214+
* @return string|GroupSequence|(string|GroupSequence)[] The validation groups
215215
*/
216216
private static function getValidationGroups(FormInterface $form)
217217
{
@@ -246,10 +246,10 @@ private static function getValidationGroups(FormInterface $form)
246246
/**
247247
* Post-processes the validation groups option for a given form.
248248
*
249-
* @param array|callable $groups The validation groups
250-
* @param FormInterface $form The validated form
249+
* @param string|GroupSequence|(string|GroupSequence)[]|callable $groups The validation groups
250+
* @param FormInterface $form The validated form
251251
*
252-
* @return array The validation groups
252+
* @return (string|GroupSequence)[] The validation groups
253253
*/
254254
private static function resolveValidationGroups($groups, FormInterface $form)
255255
{

0 commit comments

Comments
 (0)