[FrameworkBundle] Fixed parameters number mismatch declaration

This commit is contained in:
Vyacheslav Pavlov 2016-07-23 18:07:08 +03:00 committed by Nicolas Grekas
parent 37cd583e78
commit 9c4efd0d91
2 changed files with 3 additions and 3 deletions

View File

@ -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();
}
}

View File

@ -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()