Completed
Push — 6.0 ( 775d81...4cc48f )
by yun
08:02 queued 01:04
created
src/think/Manager.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;
14 14
 
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     protected function resolveClass(string $type): string
94 94
     {
95 95
         if ($this->namespace || false !== strpos($type, '\\')) {
96
-            $class = false !== strpos($type, '\\') ? $type : $this->namespace . Str::studly($type);
96
+            $class = false !== strpos($type, '\\') ? $type : $this->namespace.Str::studly($type);
97 97
 
98 98
             if (class_exists($class)) {
99 99
                 return $class;
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     {
126 126
         $type = $this->resolveType($name);
127 127
 
128
-        $method = 'create' . Str::studly($type) . 'Driver';
128
+        $method = 'create'.Str::studly($type).'Driver';
129 129
 
130 130
         $params = $this->resolveParams($name);
131 131
 
Please login to merge, or discard this patch.