merged branch bschussek/fix-validator (PR #7919)
This PR was merged into the 2.2 branch.
Discussion
----------
[Validator] Fixed: $traverse and $deep is passed to the visitor from Validator::validate()
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Commits
-------
59b78c7
[Validator] Fixed: $traverse and $deep is passed to the visitor from Validator::validate()
This commit is contained in:
commit
cf35eb8ccb
@ -87,7 +87,7 @@ class Validator implements ValidatorInterface
|
||||
$visitor = $this->createVisitor($value);
|
||||
|
||||
foreach ($this->resolveGroups($groups) as $group) {
|
||||
$visitor->validate($value, $group, '');
|
||||
$visitor->validate($value, $group, '', $traverse, $deep);
|
||||
}
|
||||
|
||||
return $visitor->getViolations();
|
||||
|
Reference in New Issue
Block a user