Completed
Push — 6.0 ( 62d9a3...e4824c )
by liu
05:31
created
src/think/Log.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 // +----------------------------------------------------------------------
9 9
 // | Author: liu21st <[email protected]>
10 10
 // +----------------------------------------------------------------------
11
-declare (strict_types = 1);
11
+declare(strict_types=1);
12 12
 
13 13
 namespace think;
14 14
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
         }
127 127
 
128 128
         if (!isset($this->config['channels'][$name])) {
129
-            throw new InvalidArgumentException('Undefined log config:' . $name);
129
+            throw new InvalidArgumentException('Undefined log config:'.$name);
130 130
         }
131 131
 
132 132
         if (isset($this->config['channels'][$name]['processor'])) {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
         if (is_string($msg) && !empty($context)) {
187 187
             $replace = [];
188 188
             foreach ($context as $key => $val) {
189
-                $replace['{' . $key . '}'] = $val;
189
+                $replace['{'.$key.'}'] = $val;
190 190
             }
191 191
 
192 192
             $msg = strtr($msg, $replace);
Please login to merge, or discard this patch.