@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | |
| 46 | 46 | private function registerErrorReporters() |
| 47 | 47 | { |
| 48 | - set_exception_handler(function ($exception) { |
|
| 48 | + set_exception_handler(function($exception) { |
|
| 49 | 49 | /** |
| 50 | 50 | * @var ErrorReporterInterface $reporter |
| 51 | 51 | */ |
@@ -54,13 +54,13 @@ discard block |
||
| 54 | 54 | |
| 55 | 55 | $this->initHttpResponseHeader($exception); |
| 56 | 56 | |
| 57 | - if($this->config['displayErrors'] === true) { |
|
| 57 | + if ($this->config['displayErrors'] === true) { |
|
| 58 | 58 | echo $reportResult; |
| 59 | 59 | } |
| 60 | 60 | } |
| 61 | 61 | }); |
| 62 | 62 | |
| 63 | - set_error_handler(function ($errno, $errstr, $errfile, $errline, array $errcontext) { |
|
| 63 | + set_error_handler(function($errno, $errstr, $errfile, $errline, array $errcontext) { |
|
| 64 | 64 | throw new ErrorException($errstr, 0, $errno, $errfile, $errline); |
| 65 | 65 | }); |
| 66 | 66 | } |