From 800117eb1140f04deec088f1dc7cbb8b94a31d0c Mon Sep 17 00:00:00 2001 From: Dmitry Date: Fri, 17 Jun 2016 14:26:51 +0300 Subject: [PATCH] marshalBadControllerEvent argument type hinting Exception -> Throwable At line 102 marshalBadControllerEvent used with Throwable argument type --- src/DispatchListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DispatchListener.php b/src/DispatchListener.php index 5d7db47f3..904246615 100644 --- a/src/DispatchListener.php +++ b/src/DispatchListener.php @@ -216,7 +216,7 @@ protected function marshalBadControllerEvent( $controllerName, MvcEvent $event, Application $application, - \Exception $exception + \Throwable $exception ) { $event->setName(MvcEvent::EVENT_DISPATCH_ERROR); $event->setError($application::ERROR_EXCEPTION);