Skip to content

Commit

Permalink
onUncaughtException should accept \Throwable instead of \Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
janisbiz committed Jan 19, 2020
1 parent 04a6207 commit 51ac99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phalcon/Debug.zep
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class Debug
/**
* Handles uncaught exceptions
*/
public function onUncaughtException(<\Exception> exception) -> bool
public function onUncaughtException(<\Throwable> exception) -> bool
{
var blacklist, className, dataVar, dataVars, escapedMessage, html,
keyFile, keyRequest, keyServer, keyVar, n, showBackTrace, traceItem,
Expand Down

0 comments on commit 51ac99a

Please sign in to comment.