Completed
Push — 6.0 ( 0285c5...28e2fd )
by liu
04:21
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
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 
134 134
         foreach ($names as $name) {
135 135
             if (!isset($this->config['channels'][$name])) {
136
-                throw new InvalidArgumentException('Undefined log config:' . $name);
136
+                throw new InvalidArgumentException('Undefined log config:'.$name);
137 137
             }
138 138
 
139 139
             $config = $this->config['channels'][$name];
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         if (is_string($msg) && !empty($context)) {
196 196
             $replace = [];
197 197
             foreach ($context as $key => $val) {
198
-                $replace['{' . $key . '}'] = $val;
198
+                $replace['{'.$key.'}'] = $val;
199 199
             }
200 200
 
201 201
             $msg = strtr($msg, $replace);
Please login to merge, or discard this patch.