This repository was archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
Throwable vs. Exception #146
Labels
Comments
Due to PHP 5.x compatibility, the quickest solution for now is to drop the type-hint completely |
My PHP Version is 7 |
The library still supports some versions of PHP 5.x Marco Pivetta On 1 June 2016 at 15:58, PhoneBuster notifications@github.com wrote:
|
I still have the same problem in version 3.0.1 |
It was fixed only on v2.7, here you have issue for v3: #161 /cc @weierophinney |
Fixed with #161. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I use zend-mvc 2.7.8. If i have a bad argument in my own factory the framework throws the following error :
Fatal error: Uncaught TypeError: Argument 4 passed to Zend\Mvc\DispatchListener::marshalBadControllerEvent() must be an instance of Exception, instance of TypeError given...
To fix this i've to change the the argument type in the DispatchListener class (method marshalBadControllerEvent) from
to
The text was updated successfully, but these errors were encountered: