@@ -142,12 +142,12 @@ discard block |
||
142 | 142 | } |
143 | 143 | |
144 | 144 | if ($mvc_type === 'Controller') { |
145 | - $class_name = $class_name . 'Controller'; |
|
145 | + $class_name = $class_name.'Controller'; |
|
146 | 146 | } |
147 | 147 | |
148 | 148 | // not fully namespaced, lets cascade |
149 | 149 | foreach ($this->namespace_cascade as $ns) { |
150 | - if (class_exists($full_name = $ns . $mvc_type . 's\\' . $class_name)) { |
|
150 | + if (class_exists($full_name = $ns.$mvc_type.'s\\'.$class_name)) { |
|
151 | 151 | return $full_name; |
152 | 152 | } |
153 | 153 | } |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | $construction_args = []; |
175 | 175 | if (!is_null($rc->getConstructor())) { |
176 | 176 | foreach ($rc->getConstructor()->getParameters() as $param) { |
177 | - $construction_args [] = $this->get($param->getType() . ''); |
|
177 | + $construction_args [] = $this->get($param->getType().''); |
|
178 | 178 | } |
179 | 179 | $instance = $rc->newInstanceArgs($construction_args); |
180 | 180 | } else { |