Passed
Push — main ( 5315bf...d73681 )
by Sammy
04:34 queued 02:52
created
LeMarchand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,14 +30,14 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 {
Please login to merge, or discard this patch.