8000
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 9b07b0c commit 297ba4fCopy full SHA for 297ba4f
src/Symfony/Component/Validator/NodeTraverser/NodeTraverser.php
@@ -113,6 +113,9 @@ private function traverseNode(Node $node)
113
$traversalStrategy
114
);
115
} elseif ($cascadingStrategy & CascadingStrategy::CASCADE) {
116
+ // If the value is a scalar, pass it anyway, because we want
117
+ // a NoSuchMetadataException to be thrown in that case
118
+ // (BC with Symfony < 2.5)
119
$this->cascadeObject(
120
$node->value,
121
$node->propertyPath,
0 commit comments