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 bfabad4 commit fb3d92dCopy full SHA for fb3d92d
src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php
@@ -412,7 +412,7 @@ protected function createNode()
412
413
if ($this->default) {
414
if (!\is_array($this->defaultValue)) {
415
- throw new \InvalidArgumentException($node->getPath().': the default value of an array node has to be an array.');
+ throw new \InvalidArgumentException(sprintf('%s: the default value of an array node has to be an array.', $node->getPath()));
416
}
417
418
$node->setDefaultValue($this->defaultValue);
0 commit comments