@@ -180,13 +180,13 @@ |
||
| 180 | 180 | if(empty($construction_args)){ |
| 181 | 181 | foreach ($rc->getConstructor()->getParameters() as $param) { |
| 182 | 182 | try{ |
| 183 | - if($param->getType()) |
|
| 184 | - $construction_args [] = $this->get($param->getType()->getName()); |
|
| 185 | - else{ |
|
| 183 | + if($param->getType()) { |
|
| 184 | + $construction_args [] = $this->get($param->getType()->getName()); |
|
| 185 | + } else{ |
|
| 186 | 186 | $setting = 'settings.Constructor.'.$class.'.'.$param->getName(); |
| 187 | 187 | $construction_args []= $this->getSettings($setting); |
| 188 | 188 | } |
| 189 | - }catch(NotFoundExceptionInterface $e){ |
|
| 189 | + } catch(NotFoundExceptionInterface $e){ |
|
| 190 | 190 | dd($e); |
| 191 | 191 | } |
| 192 | 192 | } |