Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
marshalBadControllerEvent argument type hinting
Browse files Browse the repository at this point in the history
Exception -> Throwable

At line 102 marshalBadControllerEvent used with Throwable argument type
  • Loading branch information
autowp authored Jun 17, 2016
1 parent 3845c2d commit 800117e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DispatchListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 800117e

Please sign in to comment.