diff --git a/php/ErrorHandler.php b/php/ErrorHandler.php index 7c5f1a7..d7d4159 100644 --- a/php/ErrorHandler.php +++ b/php/ErrorHandler.php @@ -40,9 +40,9 @@ public static function onError($code, $message, $file, $line, $context) /** * Display uncaught exception in JSON. * - * @param \Exception $exception + * @param \Throwable $exception */ - public static function onException(\Exception $exception) + public static function onException(\Throwable $exception) { die( json_encode(