@@ -123,12 +123,12 @@ discard block |
||
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | if ($mvc_type === 'Controller') { |
| 126 | - $class_name = $class_name . 'Controller'; |
|
| 126 | + $class_name = $class_name.'Controller'; |
|
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | // not fully namespaced, lets cascade |
| 130 | 130 | foreach ($this->getSettings('settings.namespaces') as $ns) { |
| 131 | - if (class_exists($full_name = $ns . $mvc_type . 's\\' . $class_name)) { |
|
| 131 | + if (class_exists($full_name = $ns.$mvc_type.'s\\'.$class_name)) { |
|
| 132 | 132 | return $full_name; |
| 133 | 133 | } |
| 134 | 134 | } |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | $construction_args = []; |
| 145 | 145 | if (!is_null($rc->getConstructor())) { |
| 146 | 146 | foreach ($rc->getConstructor()->getParameters() as $param) { |
| 147 | - $construction_args [] = $this->get($param->getType() . ''); |
|
| 147 | + $construction_args [] = $this->get($param->getType().''); |
|
| 148 | 148 | } |
| 149 | 149 | $instance = $rc->newInstanceArgs($construction_args); |
| 150 | 150 | } else { |