diff options
author | Arnold Daniels <arnold@jasny.net> | 2017-01-24 12:27:41 +0100 |
---|---|---|
committer | Arnold Daniels <arnold@jasny.net> | 2017-01-24 12:27:49 +0100 |
commit | 618e5ed7c1639d765eefecf05b72404564c44f8e (patch) | |
tree | 89a96f1e924f2dc6d1e9e607c8cd4ab4daa485ac /src/ErrorHandler.php | |
parent | b78a3c09d7202fb95087c32964a9b97ab3484ac1 (diff) | |
download | error-handler-618e5ed7c1639d765eefecf05b72404564c44f8e.zip error-handler-618e5ed7c1639d765eefecf05b72404564c44f8e.tar.gz error-handler-618e5ed7c1639d765eefecf05b72404564c44f8e.tar.bz2 |
Added ErrorHandlerInterface
Diffstat (limited to 'src/ErrorHandler.php')
-rw-r--r-- | src/ErrorHandler.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ErrorHandler.php b/src/ErrorHandler.php index 7250b7f..2cf371f 100644 --- a/src/ErrorHandler.php +++ b/src/ErrorHandler.php @@ -9,7 +9,7 @@ use Psr\Log\LoggerAwareInterface; /** * Handle error in following middlewares/app actions */ -class ErrorHandler implements LoggerAwareInterface +class ErrorHandler implements ErrorHandlerInterface, LoggerAwareInterface { use ErrorHandler\Logging; use ErrorHandler\ErrorCodes; @@ -57,7 +57,6 @@ class ErrorHandler implements LoggerAwareInterface } - /** * Use this error handler as middleware */ |