@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | public function register(): void |
| 58 | 58 | { |
| 59 | - if (! $this->debugger) { |
|
| 59 | + if (!$this->debugger) { |
|
| 60 | 60 | return; |
| 61 | 61 | } |
| 62 | 62 | |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | */ |
| 99 | 99 | private function registerHttpErrorsHandler(): self |
| 100 | 100 | { |
| 101 | - $this->debugger->pushHandler(function (Throwable $exception, InspectorInterface $inspector, RunInterface $run): int { |
|
| 101 | + $this->debugger->pushHandler(function(Throwable $exception, InspectorInterface $inspector, RunInterface $run): int { |
|
| 102 | 102 | $exception = $this->prepareException($exception); |
| 103 | 103 | $exception_code = $exception->getCode(); |
| 104 | 104 | |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | $run->sendHttpCode($exception_code); |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | - if (true === $this->config->log && ! in_array($exception_code, $this->config->ignore_codes, true)) { |
|
| 109 | + if (true === $this->config->log && !in_array($exception_code, $this->config->ignore_codes, true)) { |
|
| 110 | 110 | service('logger')->error($exception); |
| 111 | 111 | } |
| 112 | 112 | |