Преглед изворни кода

[DependencyInjection] Removed useless code

Jordi Boggiano пре 15 година
родитељ
комит
2186535848
1 измењених фајлова са 0 додато и 2 уклоњено
  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;
         }
     }