Forráskód Böngészése

[DependencyInjection] Removed useless code

Jordi Boggiano 14 éve
szülő
commit
2186535848

+ 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;
         }
     }