Skip to content

Commit 71f4e46

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: [HttpFoundation] Use the correct syntax for session gc based on Pdo driver Revert "bug #24987 [Console] Fix global console flag when used in chain (Simperfit)" Revert "bug #25487 [Console] Fix a bug when passing a letter that could be an alias (Simperfit)" Disable CSP header on exception pages only in debug Fixed submitting disabled buttons Fixed Button::setParent() when already submitted Improve assertions SCA: get rid of repetitive calls allow null values for root nodes in YAML configs [VarDumper] Fix docblock Improve phpdoc to make it more explicit
2 parents 10feffa + cdd2be7 commit 71f4e46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ExecutionContext.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,9 @@ public function validate($value, $subPath = '', $groups = null, $traverse = fals
197197
{
198198
$propertyPath = $this->getPropertyPath($subPath);
199199

200+
$visitor = $this->globalContext->getVisitor();
200201
foreach ($this->resolveGroups($groups) as $group) {
201-
$this->globalContext->getVisitor()->validate($value, $group, $propertyPath, $traverse, $deep);
202+
$visitor->validate($value, $group, $propertyPath, $traverse, $deep);
202203
}
203204
}
204205

0 commit comments

Comments
 (0)