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 authored Jan 19, 2020
1 parent 19764c8 commit e4e3e95
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 @@ -571,7 +571,7 @@ class Debug
/**
* Handles uncaught exceptions
*/
public function onUncaughtException(<\Exception> exception) -> boolean
public function onUncaughtException(<\Throwable> exception) -> boolean
{
var obLevel, className, escapedMessage, html, showBackTrace,
dataVars, n, traceItem, keyRequest, value, keyServer, keyFile, keyVar, dataVar;
Expand Down

0 comments on commit e4e3e95

Please sign in to comment.