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 2ca8657 commit 98d5cf9Copy full SHA for 98d5cf9
src/Symfony/Component/Config/Definition/BaseNode.php
@@ -41,7 +41,7 @@ abstract class BaseNode implements NodeInterface
41
*/
42
public function __construct(?string $name, NodeInterface $parent = null, string $pathSeparator = self::DEFAULT_PATH_SEPARATOR)
43
{
44
- if (false !== strpos($name = (string) , $pathSeparator)) {
+ if (false !== strpos($name = (string) $name, $pathSeparator)) {
45
throw new \InvalidArgumentException('The name must not contain "'.$pathSeparator.'".');
46
}
47
0 commit comments