Completed
Pull Request — 6.0 (#2230)
by
unknown
06:19
created
src/think/console/Output.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: yunwuxin <[email protected]>
10 10
 // +----------------------------------------------------------------------
11
-declare (strict_types = 1);
11
+declare(strict_types=1);
12 12
 
13 13
 namespace think\console;
14 14
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
     public function __construct($driver = 'console')
76 76
     {
77
-        $class = '\\think\\console\\output\\driver\\' . ucwords($driver);
77
+        $class = '\\think\\console\\output\\driver\\'.ucwords($driver);
78 78
 
79 79
         $this->handle = new $class($this);
80 80
     }
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
         if ($this->handle && method_exists($this->handle, $method)) {
226 226
             return call_user_func_array([$this->handle, $method], $args);
227 227
         } else {
228
-            throw new Exception('method not exists:' . __CLASS__ . '->' . $method);
228
+            throw new Exception('method not exists:'.__CLASS__.'->'.$method);
229 229
         }
230 230
     }
231 231
 }
Please login to merge, or discard this patch.