Passed
Push — main ( 5be53a...df551c )
by Sammy
01:31
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
@@ -62,8 +62,7 @@
 block discarded – undo
62 62
             $lad->alert(self::USER_EXCEPTION, [$throwable]);
63 63
         } elseif ($throwable instanceof \Error) {
64 64
             $lad->notice(self::INTERNAL_ERROR, [$throwable]);
65
-        }
66
-        else {
65
+        } else {
67 66
             $lad->critical('Caught an unknown Throwable. This breaks everything.', [$throwable]);
68 67
         }
69 68
     }
Please login to merge, or discard this patch.