From 31414905d710ed53796d67759dec24baf2eeefc7 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 20 Sep 2017 01:29:04 +0200 Subject: Fixed exceptionHandler to catch PdoExceptions, formatting --- .gitignore | 1 + public/.htaccess | 1 + src/Exceptions/Handler.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index eb3f8939..eb12eae7 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ _vimrc_local.vim # Project files /config/config.php /test/coverage +/public/coverage # Composer files /vendor/ diff --git a/public/.htaccess b/public/.htaccess index c9d40187..2b1d3a7a 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,3 +1,4 @@ + RewriteEngine on diff --git a/src/Exceptions/Handler.php b/src/Exceptions/Handler.php index c4fb639c..95bcd132 100644 --- a/src/Exceptions/Handler.php +++ b/src/Exceptions/Handler.php @@ -42,7 +42,7 @@ class Handler /** * @param Throwable $e */ - public function exceptionHandler(Throwable $e) + public function exceptionHandler($e) { $this->handle( 'exception', -- cgit v1.2.3-70-g09d2