8000 Fix bad merge · symfony/symfony@31fe1ef · GitHub
[go: up one dir, main page]

Skip to content

Commit 31fe1ef

Browse files
committed
Fix bad merge
1 parent 14f2d22 commit 31fe1ef

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Symfony/Component/DependencyInjection/ContainerBuilder.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -994,13 +994,8 @@ public function setDefinition($id, Definition $definition)
994994

995995
$id = (string) $id;
996996

997-
<<<<<<< HEAD
998997
if ('' === $id || '\\' === $id[-1] || \strlen($id) !== strcspn($id, "\0\r\n'")) {
999-
throw new InvalidArgumentException(sprintf('Invalid service id: "%s"', $id));
1000-
=======
1001-
if ('' === $id || '\\' === substr($id, -1) || \strlen($id) !== strcspn($id, "\0\r\n'")) {
1002998
throw new InvalidArgumentException(sprintf('Invalid service id: "%s".', $id));
1003-
>>>>>>> 3.4
1004999
}
10051000

10061001
unset($this->aliasDefinitions[$id], $this->removedIds[$id]);

0 commit comments

Comments
 (0)
0