diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/AbstractConfigCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/AbstractConfigCommand.php index aceaa0cbdc6dd..6afe16a8d2daf 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/AbstractConfigCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/AbstractConfigCommand.php @@ -48,7 +48,7 @@ protected function listBundles(OutputInterface $output) } else { $output->writeln($message); $table = new Table($output); - $table->setHeaders($headers)->setRows($rows)->render($output); + $table->setHeaders($headers)->setRows($rows)->render(); } } diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/DelegatingEngineTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/DelegatingEngineTest.php index c5d2d8bbebede..0f887218137d3 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/DelegatingEngineTest.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/DelegatingEngineTest.php @@ -38,7 +38,7 @@ public function testGetExistingEngine() $delegatingEngine = new DelegatingEngine($container, array('engine.first', 'engine.second')); - $this->assertSame($secondEngine, $delegatingEngine->getEngine('template.php', array('foo' => 'bar'))); + $this->assertSame($secondEngine, $delegatingEngine->getEngine('template.php')); } /** @@ -55,7 +55,7 @@ public function testGetInvalidEngine() )); $delegatingEngine = new DelegatingEngine($container, array('engine.first', 'engine.second')); - $delegatingEngine->getEngine('template.php', array('foo' => 'bar')); + $delegatingEngine->getEngine('template.php'); } public function testRenderResponseWithFrameworkEngine()