Test Failed
Pull Request — main (#59)
by Dimitri
06:14
created
src/Debug/ExceptionManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.