@@ -50,8 +50,8 @@ discard block |
||
| 50 | 50 | return $this->getSettings($configuration); |
| 51 | 51 | } elseif (preg_match('/.+Controller$/', $configuration, $m) === 1) { |
| 52 | 52 | foreach ($this->getSettings('settings.controllers_namespaces') as $controller_namespace) { |
| 53 | - if (class_exists($controller_namespace . $configuration)) { |
|
| 54 | - return $this->getInstance($controller_namespace . $configuration); |
|
| 53 | + if (class_exists($controller_namespace.$configuration)) { |
|
| 54 | + return $this->getInstance($controller_namespace.$configuration); |
|
| 55 | 55 | } |
| 56 | 56 | } |
| 57 | 57 | } |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | $instance = null; |
| 68 | 68 | if (!is_null($rc->getConstructor())) { |
| 69 | 69 | foreach ($rc->getConstructor()->getParameters() as $param) { |
| 70 | - $construction_args [] = $this->get($param->getType() . ''); |
|
| 70 | + $construction_args [] = $this->get($param->getType().''); |
|
| 71 | 71 | } |
| 72 | 72 | $instance = $rc->newInstanceArgs($construction_args); |
| 73 | 73 | } else { |