Skip to content

Commit 98d5cf9

Browse files
fix merge
1 parent 2ca8657 commit 98d5cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Config/Definition/BaseNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ abstract class BaseNode implements NodeInterface
4141
*/
4242
public function __construct(?string $name, NodeInterface $parent = null, string $pathSeparator = self::DEFAULT_PATH_SEPARATOR)
4343
{
44-
if (false !== strpos($name = (string) , $pathSeparator)) {
44+
if (false !== strpos($name = (string) $name, $pathSeparator)) {
4545
throw new \InvalidArgumentException('The name must not contain "'.$pathSeparator.'".');
4646
}
4747

0 commit comments

Comments
 (0)