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)
203203 /**
204204 * Returns the validation groups of the given form.
205205 *
206- * @return string|GroupSequence|( string|GroupSequence)[] The validation groups
206+ * @return string|GroupSequence|array< string|GroupSequence> The validation groups
207207 */
208208 private function getValidationGroups (FormInterface $ form )
209209 {
@@ -242,9 +242,9 @@ private function getValidationGroups(FormInterface $form)
242242 /**
243243 * Post-processes the validation groups option for a given form.
244244 *
245- * @param string|GroupSequence|( string|GroupSequence)[] |callable $groups The validation groups
245+ * @param string|GroupSequence|array< string|GroupSequence> |callable $groups The validation groups
246246 *
247- * @return GroupSequence|( string|GroupSequence)[] The validation groups
247+ * @return GroupSequence|array< string|GroupSequence> The validation groups
248248 */
249249 private static function resolveValidationGroups ($ groups , FormInterface $ form )
250250 {
You can’t perform that action at this time.
0 commit comments