Completed
Push — 6.0 ( c1d76c...33b2e4 )
by liu
06:02
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
 
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         }
131 131
 
132 132
         if (!isset($this->config['channels'][$name])) {
133
-            throw new InvalidArgumentException('Undefined log config:' . $name);
133
+            throw new InvalidArgumentException('Undefined log config:'.$name);
134 134
         }
135 135
 
136 136
         $config = $this->config['channels'][$name];
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         if (is_string($msg) && !empty($context)) {
197 197
             $replace = [];
198 198
             foreach ($context as $key => $val) {
199
-                $replace['{' . $key . '}'] = $val;
199
+                $replace['{'.$key.'}'] = $val;
200 200
             }
201 201
 
202 202
             $msg = strtr($msg, $replace);
Please login to merge, or discard this patch.