We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40bb19 commit 9699b8eCopy full SHA for 9699b8e
src/Symfony/Validator/ValidationGroupsExtractorTrait.php
@@ -41,7 +41,7 @@ public function getValidationGroups(\Closure|array|GroupSequence|string|null $va
41
$validationGroups = $validationGroups($data);
42
}
43
44
- if (!$validationGroups instanceof GroupSequence) {
+ if ($validationGroups instanceof GroupSequence) {
45
$validationGroups = (array) $validationGroups;
46
47
0 commit comments