8000 minor #19411 [FrameworkBundle] Fixed parameters number mismatch decla… · symfony/symfony@16af6a4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 16af6a4

Browse files
minor #19411 [FrameworkBundle] Fixed parameters number mismatch declaration (zomberg)
This PR was squashed before being merged into the 2.7 branch (closes #19411). Discussion ---------- [FrameworkBundle] Fixed parameters number mismatch declaration | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | ~ | License | MIT | Doc PR | ~ Commits ------- 9c4efd0 [FrameworkBundle] Fixed parameters number mismatch declaration
2 parents c4069a4 + 9c4efd0 commit 16af6a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/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

src/Symfony/Bundle/FrameworkBundle/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)
0