Fixed exceptionHandler to catch PdoExceptions, formatting

main
Igor Scheller 7 years ago
parent 5b12eecdd6
commit 31414905d7

1
.gitignore vendored

@ -21,6 +21,7 @@ _vimrc_local.vim
# Project files
/config/config.php
/test/coverage
/public/coverage
# Composer files
/vendor/

@ -1,3 +1,4 @@
<IfModule mod_rewrite.c>
RewriteEngine on

@ -42,7 +42,7 @@ class Handler
/**
* @param Throwable $e
*/
public function exceptionHandler(Throwable $e)
public function exceptionHandler($e)
{
$this->handle(
'exception',

Loading…
Cancel
Save