소스 검색

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