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

[FrameworkBundle] fixed methods that have been renamed in the previous commit

Fabien Potencier пре 14 година
родитељ
комит
1df8b2ee37

+ 2 - 2
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

@@ -257,8 +257,8 @@ class FrameworkExtension extends Extension
         }
 
         $def = $container->getDefinition('request_listener');
-        $def->setArgument(2, $config['http_port']);
-        $def->setArgument(3, $config['https_port']);
+        $def->replaceArgument(2, $config['http_port']);
+        $def->replaceArgument(3, $config['https_port']);
 
         $this->addClassesToCompile(array(
             'Symfony\\Component\\Routing\\RouterInterface',