Преглед на файлове

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

Fabien Potencier преди 14 години
родител
ревизия
1df8b2ee37
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

+ 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',