소스 검색

fix wrong migration value

Thomas Rabaix 9 년 전
부모
커밋
b918a53777
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

+ 1 - 1
DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

@@ -226,7 +226,7 @@ class AddDependencyCallsCompilerPass implements CompilerPassInterface
 
         if (method_exists($definition, 'setShared')) {
             // Symfony 2.8+
-            $definition->setShared(true);
+            $definition->setShared(false);
         } else {
             // For Symfony <2.8 compatibility
             $definition->setScope(ContainerInterface::SCOPE_PROTOTYPE);