bug #11041 Remove undefined variable $e (skydiablo)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #11041).

Discussion
----------

Remove undefined variable $e

This PR was submitted on the symfony/DependencyInjection read-only repository and moved automatically to the main Symfony repository (closes symfony/DependencyInjection#6).

Commits
-------

637c6e1 Remove undefined variable $e
This commit is contained in:
Fabien Potencier 2014-06-03 03:40:41 +02:00
commit eafabfaea9

View File

@ -467,7 +467,7 @@ class ContainerBuilder extends Container implements TaggedContainerInterface
}
if (isset($this->loading[$id])) {
throw new LogicException(sprintf('The service "%s" has a circular reference to itself.', $id), 0, $e);
throw new LogicException(sprintf('The service "%s" has a circular reference to itself.', $id));
}
if (!$this->hasDefinition($id) && isset($this->aliasDefinitions[$id])) {