Преглед изворни кода

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