diff options
author | msquare <msquare@notrademark.de> | 2017-07-28 19:28:00 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-07-28 19:28:00 +0200 |
commit | 440ed74cd7a0bde035a93fde36b08b9a5aca557d (patch) | |
tree | 3a91d3589c844206a59b80620abf52bf8e9d5de6 | |
parent | a0af8d4624be9ca8579817d291036a6727aeb574 (diff) |
exception handler should handle throwables instead of exceptions
-rw-r--r-- | src/Exceptions/Handler.php | 6 |
1 files 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', |