Passed
Push — main ( 23c9b6...c645a3 )
by Sammy
01:36 queued 11s
created
LeMarchand.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -180,13 +180,13 @@
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.