Passed
Push — main ( dcc917...56ffb1 )
by Sammy
07:38 queued 05:57
created
LeMarchand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,12 +142,12 @@  discard block
 block discarded – undo
142 142
         }
143 143
 
144 144
         if ($mvc_type === 'Controller') {
145
-            $class_name = $class_name . 'Controller';
145
+            $class_name = $class_name.'Controller';
146 146
         }
147 147
 
148 148
         // not fully namespaced, lets cascade
149 149
         foreach ($this->namespace_cascade as $ns) {
150
-            if (class_exists($full_name = $ns . $mvc_type . 's\\' . $class_name)) {
150
+            if (class_exists($full_name = $ns.$mvc_type.'s\\'.$class_name)) {
151 151
                 return $full_name;
152 152
             }
153 153
         }
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
             $construction_args = [];
175 175
             if (!is_null($rc->getConstructor())) {
176 176
                 foreach ($rc->getConstructor()->getParameters() as $param) {
177
-                    $construction_args [] = $this->get($param->getType() . '');
177
+                    $construction_args [] = $this->get($param->getType().'');
178 178
                 }
179 179
                 $instance = $rc->newInstanceArgs($construction_args);
180 180
             } else {
Please login to merge, or discard this patch.