[FrameworkBundle] Fixed parameters number mismatch declaration
This commit is contained in:
parent
37cd583e78
commit
9c4efd0d91
@ -48,7 +48,7 @@ abstract class AbstractConfigCommand extends ContainerDebugCommand
|
|||||||
} else {
|
} else {
|
||||||
$output->writeln($message);
|
$output->writeln($message);
|
||||||
$table = new Table($output);
|
$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'));
|
$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 = new DelegatingEngine($container, array('engine.first', 'engine.second'));
|
||||||
$delegatingEngine->getEngine('template.php', array('foo' => 'bar'));
|
$delegatingEngine->getEngine('template.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testRenderResponseWithFrameworkEngine()
|
public function testRenderResponseWithFrameworkEngine()
|
||||||
|
Reference in New Issue
Block a user