summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-09-20 01:29:04 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2017-09-20 01:29:04 +0200
commit31414905d710ed53796d67759dec24baf2eeefc7 (patch)
tree283d2d1b2b2f8ba8214371e36c3b43ca163a59c2
parent5b12eecdd63dd6fc64e988cd2ff6b5fb89d10429 (diff)
Fixed exceptionHandler to catch PdoExceptions, formatting
-rw-r--r--.gitignore1
-rw-r--r--public/.htaccess1
-rw-r--r--src/Exceptions/Handler.php2
3 files changed, 3 insertions, 1 deletions
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 @@
+
<IfModule mod_rewrite.c>
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',