Skip to content

Commit

Permalink
Resolve unresolved merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Mar 15, 2020
1 parent e049d42 commit 358bdca
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -994,13 +994,8 @@ public function setDefinition($id, Definition $definition)

$id = (string) $id;

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

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

0 comments on commit 358bdca

Please sign in to comment.