This commit is contained in:
Fabien Potencier 2016-02-14 11:04:53 +01:00
parent ee01786dbd
commit 55b71ebd93

View File

@ -443,7 +443,6 @@ class ContainerBuilder extends Container implements TaggedContainerInterface
try { try {
$definition = $this->getDefinition($id); $definition = $this->getDefinition($id);
} catch (ServiceNotFoundException $e) { } catch (ServiceNotFoundException $e) {
if (ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE !== $invalidBehavior) { if (ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE !== $invalidBehavior) {
return; return;
} }