瀏覽代碼

Merge remote branch 'maxbeutel/upstream'

Fabien Potencier 14 年之前
父節點
當前提交
29954e3fce
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

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

@@ -118,6 +118,7 @@ EOF;
         foreach ($this->container->getInterfaceInjectors() as $injector) {
             $code .= sprintf("        if (\$instance instanceof \\%s) {\n", $injector->getClass());
             foreach ($injector->getMethodCalls() as $call) {
+                $arguments = array();
                 foreach ($call[1] as $value) {
                     $arguments[] = $this->dumpValue($value);
                 }