Skip to content

Commit f2a5c48

Browse files
zombergnicolas-grekas
authored andcommitted
[FrameworkBundle] Fixed parameters number mismatch declaration
1 parent 132e4c2 commit f2a5c48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Command/AbstractConfigCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected function listBundles(OutputInterface $output)
4848
} else {
4949
$output->writeln($message);
5050
$table = new Table($output);
51-
$table->setHeaders($headers)->setRows($rows)->render($output);
51+
$table->setHeaders($headers)->setRows($rows)->render();
5252
}
5353
}
5454

Tests/Templating/DelegatingEngineTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testGetExistingEngine()
3838

3939
$delegatingEngine = new DelegatingEngine($container, array('engine.first', 'engine.second'));
4040

41-
$this->assertSame($secondEngine, $delegatingEngine->getEngine('template.php', array('foo' => 'bar')));
41+
$this->assertSame($secondEngine, $delegatingEngine->getEngine('template.php'));
4242
}
4343

4444
/**
@@ -55,7 +55,7 @@ public function testGetInvalidEngine()
5555
));
5656

5757
$delegatingEngine = new DelegatingEngine($container, array('engine.first', 'engine.second'));
58-
$delegatingEngine->getEngine('template.php', array('foo' => 'bar'));
58+
$delegatingEngine->getEngine('template.php');
5959
}
6060

6161
public function testRenderResponseWithFrameworkEngine()

0 commit comments

Comments
 (0)