Passed
Pull Request — master (#1729)
by
unknown
03:19
created
src/Kernel/Log/LogManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
             return $this->callCustomCreator($config);
165 165
         }
166 166
 
167
-        $driverMethod = 'create' . ucfirst($config['driver']) . 'Driver';
167
+        $driverMethod = 'create'.ucfirst($config['driver']).'Driver';
168 168
 
169 169
         if (method_exists($this, $driverMethod)) {
170 170
             return $this->{$driverMethod}($config);
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     protected function createEmergencyLogger()
184 184
     {
185 185
         return new Monolog('EasyWeChat', $this->prepareHandlers([new StreamHandler(
186
-            \sys_get_temp_dir() . '/easywechat/easywechat.log',
186
+            \sys_get_temp_dir().'/easywechat/easywechat.log',
187 187
             $this->level(['level' => 'debug'])
188 188
         )]));
189 189
     }
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
     {
356 356
         if (!is_a($config['handler'], HandlerInterface::class, true)) {
357 357
             throw new InvalidArgumentException(
358
-                $config['handler'] . ' must be an instance of ' . HandlerInterface::class
358
+                $config['handler'].' must be an instance of '.HandlerInterface::class
359 359
             );
360 360
         }
361 361
 
Please login to merge, or discard this patch.