소스 검색

[DependecyInjection] fixed typo. Using InterfaceInjectors broke methodCalls.

Jan Prieser 14 년 전
부모
커밋
60c1159b2e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

+ 1 - 1
src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

@@ -409,7 +409,7 @@ EOF;
         }
 
         if (!$this->container->isFrozen() && count($this->container->getInterfaceInjectors()) > 0) {
-            $calls = sprintf("\n        \$this->applyInterfaceInjectors(\$%s);\n", $variableName);
+            $calls .= sprintf("\n        \$this->applyInterfaceInjectors(\$%s);\n", $variableName);
         }
 
         return $calls;