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)
202202 /**
203203 * Returns the validation groups of the given form.
204204 *
205- * @return string|GroupSequence|( string|GroupSequence)[] The validation groups
205+ * @return string|GroupSequence|array< string|GroupSequence> The validation groups
206206 */
207207 private function getValidationGroups (FormInterface $ form )
208208 {
@@ -241,9 +241,9 @@ private function getValidationGroups(FormInterface $form)
241241 /**
242242 * Post-processes the validation groups option for a given form.
243243 *
244- * @param string|GroupSequence|( string|GroupSequence)[] |callable $groups The validation groups
244+ * @param string|GroupSequence|array< string|GroupSequence> |callable $groups The validation groups
245245 *
246- * @return GroupSequence|( string|GroupSequence)[] The validation groups
246+ * @return GroupSequence|array< string|GroupSequence> The validation groups
247247 */
248248 private static function resolveValidationGroups ($ groups , FormInterface $ form )
249249 {
You can’t perform that action at this time.
0 commit comments