File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Extension/Validator/Constraints Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ public function validate($form, Constraint $formConstraint)
203
203
/**
204
204
* Returns the validation groups of the given form.
205
205
*
206
- * @return string|GroupSequence|( string|GroupSequence)[] The validation groups
206
+ * @return string|GroupSequence|array< string|GroupSequence> The validation groups
207
207
*/
208
208
private function getValidationGroups (FormInterface $ form )
209
209
{
@@ -242,9 +242,9 @@ private function getValidationGroups(FormInterface $form)
242
242
/**
243
243
* Post-processes the validation groups option for a given form.
244
244
*
245
- * @param string|GroupSequence|( string|GroupSequence)[] |callable $groups The validation groups
245
+ * @param string|GroupSequence|array< string|GroupSequence> |callable $groups The validation groups
246
246
*
247
- * @return GroupSequence|( string|GroupSequence)[] The validation groups
247
+ * @return GroupSequence|array< string|GroupSequence> The validation groups
248
248
*/
249
249
private static function resolveValidationGroups ($ groups , FormInterface $ form )
250
250
{
You can’t perform that action at this time.
0 commit comments