Explorar o código

[DependencyInjection] Removed useless code

Jordi Boggiano %!s(int64=15) %!d(string=hai) anos
pai
achega
2186535848
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      src/Symfony/Component/DependencyInjection/Container.php

+ 0 - 2
src/Symfony/Component/DependencyInjection/Container.php

@@ -195,8 +195,6 @@ class Container implements ContainerInterface, \ArrayAccess
 
         if (self::EXCEPTION_ON_INVALID_REFERENCE === $invalidBehavior) {
             throw new \InvalidArgumentException(sprintf('The service "%s" does not exist.', $id));
-        } else {
-            return null;
         }
     }