Passed
Push — master ( b817d9...04ae87 )
by 世昌
02:23
created
suda/src/framework/debug/Debug.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
         $replace = [];
51 51
         $attach = [];
52 52
         foreach ($context as $key => $val) {
53
-            $replaceKey = '{' . $key . '}';
53
+            $replaceKey = '{'.$key.'}';
54 54
             if ($this->canBeStringValue($val) && strpos($message, $replaceKey) !== false) {
55
-                $replace['{' . $key . '}'] = $val;
55
+                $replace['{'.$key.'}'] = $val;
56 56
             } else {
57 57
                 $attach[$key] = $val;
58 58
             }
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
         $pow = floor(($bytes ? log($bytes) : 0) / log(1024));
103 103
         $pos = min($pow, count($human) - 1);
104 104
         $bytes /= (1 << (10 * $pos));
105
-        return round($bytes, $precision) . ' ' . $human[$pos];
105
+        return round($bytes, $precision).' '.$human[$pos];
106 106
     }
107 107
 
108 108
     public function time(string $name, string $type = LogLevel::INFO)
Please login to merge, or discard this patch.