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

call with Throwable, but type-hint wants Exception #153

Conversation

kokspflanze
Copy link
Contributor

hi,

i get the same problem like #146 with release-3.0.0.

in Zend\Mvc\DispatchListener https://github.com/zendframework/zend-mvc/blob/master/src/DispatchListener.php#L103 is the method call with Throwable but the type-hint want an Exception class https://github.com/zendframework/zend-mvc/blob/release-3.0.0/src/DispatchListener.php#L219

Im not sure if the fix should be only in the release-3.x.x. or also in release-2.7.x.

PHP-Version 7.0.7

@sandrokeil
Copy link

I've the same problem.

@weierophinney weierophinney added this to the 2.7.9 milestone Jun 11, 2016
@weierophinney weierophinney self-assigned this Jun 11, 2016
@weierophinney weierophinney merged commit 48a04ad into zendframework:release-2.7 Jun 11, 2016
weierophinney added a commit that referenced this pull request Jun 11, 2016
call with Throwable, but type-hint wants Exception
weierophinney added a commit that referenced this pull request Jun 11, 2016
weierophinney added a commit that referenced this pull request Jun 11, 2016
@andreaventuri
Copy link

I still have the same problem in version 3.0.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants