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 @@ -202,7 +202,7 @@ public function validate($form, Constraint $formConstraint)
202
202
/**
203
203
* Returns the validation groups of the given form.
204
204
*
205
- * @return string|GroupSequence|( string|GroupSequence)[] The validation groups
205
+ * @return string|GroupSequence|array< string|GroupSequence> The validation groups
206
206
*/
207
207
private function getValidationGroups (FormInterface $ form )
208
208
{
@@ -241,9 +241,9 @@ private function getValidationGroups(FormInterface $form)
241
241
/**
242
242
* Post-processes the validation groups option for a given form.
243
243
*
244
- * @param string|GroupSequence|( string|GroupSequence)[] |callable $groups The validation groups
244
+ * @param string|GroupSequence|array< string|GroupSequence> |callable $groups The validation groups
245
245
*
246
- * @return GroupSequence|( string|GroupSequence)[] The validation groups
246
+ * @return GroupSequence|array< string|GroupSequence> The validation groups
247
247
*/
248
248
private static function resolveValidationGroups ($ groups , FormInterface $ form )
249
249
{
You can’t perform that action at this time.
0 commit comments