Passed
Push — main ( 26b4a2...10f70f )
by Sammy
01:34
created
LogLaddy.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
    * const NOTICE    = 'notice'; // Normal but significant events.
154 154
    * const INFO      = 'info'; // Interesting events. User logs in, SQL logs.
155 155
    * const DEBUG     = 'debug'; // Detailed debug information.
156
-  */
156
+   */
157 157
     private static function map_error_level_to_log_level($level): string
158 158
     {
159 159
       // http://php.net/manual/en/errorfunc.constants.php
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@
 block discarded – undo
72 72
             $this->alert(self::USER_EXCEPTION, [$throwable]);
73 73
         } elseif ($throwable instanceof \Error) {
74 74
             $this->notice(self::INTERNAL_ERROR, [$throwable]);
75
-        }
76
-        else {
75
+        } else {
77 76
             $this->critical('Caught an unknown Throwable. This breaks everything.', [$throwable]);
78 77
         }
79 78
     }
Please login to merge, or discard this patch.