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

Commit

Permalink
Merge branch 'hotfix/161'
Browse files Browse the repository at this point in the history
Close #161
  • Loading branch information
weierophinney committed Jun 30, 2016
2 parents af7534c + b18a691 commit 4fcaa6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- Nothing.
- [#161](https://github.com/zendframework/zend-mvc/pull/161) fixes the
`DispatchListener::marshalBadControllerEvent()` method to allow either
`Throwable` or `Exception` types for the `$exception` argument.

## 3.0.1 - 2016-06-23

Expand Down
4 changes: 2 additions & 2 deletions src/DispatchListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,14 @@ protected function marshalControllerNotFoundEvent(
* @param string $controllerName
* @param MvcEvent $event
* @param Application $application
* @param \Exception $exception
* @param \Throwable|\Exception $exception
* @return mixed
*/
protected function marshalBadControllerEvent(
$controllerName,
MvcEvent $event,
Application $application,
\Exception $exception
$exception
) {
$event->setName(MvcEvent::EVENT_DISPATCH_ERROR);
$event->setError($application::ERROR_EXCEPTION);
Expand Down

0 comments on commit 4fcaa6d

Please sign in to comment.