@@ -50,9 +50,9 @@ discard block |
||
| 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 |
||
| 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) |