From 440ed74cd7a0bde035a93fde36b08b9a5aca557d Mon Sep 17 00:00:00 2001 From: msquare Date: Fri, 28 Jul 2017 19:28:00 +0200 Subject: [PATCH] exception handler should handle throwables instead of exceptions --- src/Exceptions/Handler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Exceptions/Handler.php b/src/Exceptions/Handler.php index 942e11d6..e52549e7 100644 --- a/src/Exceptions/Handler.php +++ b/src/Exceptions/Handler.php @@ -2,7 +2,7 @@ namespace Engelsystem\Exceptions; -use Exception; +use Throwable; class Handler { @@ -38,9 +38,9 @@ class Handler } /** - * @param Exception $e + * @param Throwable $e */ - public function exceptionHandler(Exception $e) + public function exceptionHandler(Throwable $e) { $this->handle( 'exception',