From b1b3ce83ae1e82faef6f91ed300d73606baec01a Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 30 Aug 2010 07:15:00 +0200 Subject: [PATCH] [FrameworkBundle] fixed method signature --- .../Bundle/FrameworkBundle/Controller/ExceptionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php b/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php index a8d03d58c2..270072b0c0 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php @@ -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);