@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | return $class_name; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | - if($m[2] === 'Interface'){ |
|
| 88 | + if ($m[2] === 'Interface') { |
|
| 89 | 89 | return $this->wireInstance(); |
| 90 | 90 | } |
| 91 | 91 | |
@@ -118,12 +118,12 @@ discard block |
||
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | if ($mvc_type === 'Controller') { |
| 121 | - $class_name = $class_name . 'Controller'; |
|
| 121 | + $class_name = $class_name.'Controller'; |
|
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | // not fully namespaced, lets cascade |
| 125 | 125 | foreach ($this->getSettings('settings.namespaces') as $ns) { |
| 126 | - if (class_exists($full_name = $ns . $mvc_type . 's\\' . $class_name)) { |
|
| 126 | + if (class_exists($full_name = $ns.$mvc_type.'s\\'.$class_name)) { |
|
| 127 | 127 | return $full_name; |
| 128 | 128 | } |
| 129 | 129 | } |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | $construction_args = []; |
| 140 | 140 | if (!is_null($rc->getConstructor())) { |
| 141 | 141 | foreach ($rc->getConstructor()->getParameters() as $param) { |
| 142 | - $construction_args [] = $this->get($param->getType() . ''); |
|
| 142 | + $construction_args [] = $this->get($param->getType().''); |
|
| 143 | 143 | } |
| 144 | 144 | $instance = $rc->newInstanceArgs($construction_args); |
| 145 | 145 | } else { |