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
This commit is contained in:
commit
16af6a4d83
@ -48,7 +48,7 @@ abstract class AbstractConfigCommand extends ContainerDebugCommand
|
||||
} else {
|
||||
$output->writeln($message);
|
||||
$table = new Table($output);
|
||||
$table->setHeaders($headers)->setRows($rows)->render($output);
|
||||
$table->setHeaders($headers)->setRows($rows)->render();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ class DelegatingEngineTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
$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 @@ class DelegatingEngineTest extends \PHPUnit_Framework_TestCase
|
||||
));
|
||||
|
||||
$delegatingEngine = new DelegatingEngine($container, array('engine.first', 'engine.second'));
|
||||
$delegatingEngine->getEngine('template.php', array('foo' => 'bar'));
|
||||
$delegatingEngine->getEngine('template.php');
|
||||
}
|
||||
|
||||
public function testRenderResponseWithFrameworkEngine()
|
||||
|
Reference in New Issue
Block a user