[FrameworkBundle] fixed method signature

This commit is contained in:
Fabien Potencier 2010-08-30 07:15:00 +02:00
parent 9588860716
commit b1b3ce83ae

View File

@ -33,7 +33,7 @@ class ExceptionController extends Controller
*
* @throws \InvalidArgumentException When the exception template does not exist
*/
public function exceptionAction(FlattenException $exception, DebugLoggerInterface $logger, $format, $embedded = false)
public function exceptionAction(FlattenException $exception, DebugLoggerInterface $logger = null, $format = 'html', $embedded = false)
{
$this['request']->setRequestFormat($format);