Passed
Push — main ( e7ed47...9aaa9d )
by Sammy
02:30
created
Debugger.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
       // -- formatting : first line of \Throwable-based error
68 68
         public static function formatThrowable(\Throwable $err)
69 69
         {
70
-            return PHP_EOL . sprintf(
71
-                '%s (%d) in file %s:%d' . PHP_EOL . '%s',
70
+            return PHP_EOL.sprintf(
71
+                '%s (%d) in file %s:%d'.PHP_EOL.'%s',
72 72
                 get_class($err),
73 73
                 $err->getCode(),
74 74
                 self::formatFilename($err->getFile()),
@@ -128,13 +128,13 @@  discard block
 block discarded – undo
128 128
                 if (is_null($arg)) {
129 129
                     $ret[] = 'NULL';
130 130
                 } elseif (is_bool($arg)) {
131
-                    $ret[] = 'bool:' . ((int)$arg);
131
+                    $ret[] = 'bool:'.((int) $arg);
132 132
                 } elseif (is_scalar($arg)) {
133 133
                     $ret[] = $arg;
134 134
                 } elseif (is_object($arg)) {
135 135
                     $ret[] = get_class($arg);
136 136
                 } elseif (is_array($arg)) {
137
-                    $ret[] = 'Array #' . count($arg);
137
+                    $ret[] = 'Array #'.count($arg);
138 138
                 } else {
139 139
                     $ret[] = 'unknown type';
140 140
                 }
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 
151 151
         private static function isShortcutCall($function_name): bool
152 152
         {
153
-            return in_array($function_name, ['vd', 'dd','vdt', 'ddt']);
153
+            return in_array($function_name, ['vd', 'dd', 'vdt', 'ddt']);
154 154
         }
155 155
 
156 156
         private static function toHTML($message)
Please login to merge, or discard this patch.