浏览代码

[DependencyInjection] Removed useless code

Jordi Boggiano 14 年之前
父节点
当前提交
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;
         }
     }