@@ -30,14 +30,14 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | public function has($configuration) |
| 32 | 32 | { |
| 33 | - try{ |
|
| 33 | + try { |
|
| 34 | 34 | $this->get($configuration); |
| 35 | 35 | return true; |
| 36 | 36 | } |
| 37 | - catch(NotFoundExceptionInterface $e){ |
|
| 37 | + catch (NotFoundExceptionInterface $e) { |
|
| 38 | 38 | return false; |
| 39 | 39 | } |
| 40 | - catch(ContainerExceptionInterface $e){ |
|
| 40 | + catch (ContainerExceptionInterface $e) { |
|
| 41 | 41 | return false; |
| 42 | 42 | } |
| 43 | 43 | } |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | } |
| 74 | 74 | // not fully qualifed, lets cascade |
| 75 | 75 | foreach ($this->getSettings('settings.controller_namespaces') as $cns) { |
| 76 | - if (!is_null($instance = $this->getInstance($cns . $controller_name))) { |
|
| 76 | + if (!is_null($instance = $this->getInstance($cns.$controller_name))) { |
|
| 77 | 77 | return $instance; |
| 78 | 78 | } |
| 79 | 79 | } |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | $construction_args = []; |
| 89 | 89 | if (!is_null($rc->getConstructor())) { |
| 90 | 90 | foreach ($rc->getConstructor()->getParameters() as $param) { |
| 91 | - $construction_args [] = $this->get($param->getType() . ''); |
|
| 91 | + $construction_args [] = $this->get($param->getType().''); |
|
| 92 | 92 | } |
| 93 | 93 | $instance = $rc->newInstanceArgs($construction_args); |
| 94 | 94 | } else { |