summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-07-28 19:28:00 +0200
committermsquare <msquare@notrademark.de>2017-07-28 19:28:00 +0200
commit440ed74cd7a0bde035a93fde36b08b9a5aca557d (patch)
tree3a91d3589c844206a59b80620abf52bf8e9d5de6
parenta0af8d4624be9ca8579817d291036a6727aeb574 (diff)
exception handler should handle throwables instead of exceptions
-rw-r--r--src/Exceptions/Handler.php6
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',