Passed
Push — main ( b29636...65d534 )
by Sammy
07:11 queued 05:49
created
LeMarchand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         }
65 65
 
66 66
         foreach ($dbg['interface_wiring'] as $interface => $wire) {
67
-            $dbg['interface_wiring'][$interface] = is_array($wire) ? array_shift($wire) . ' --array #' . count($wire) : $wire;
67
+            $dbg['interface_wiring'][$interface] = is_array($wire) ? array_shift($wire).' --array #'.count($wire) : $wire;
68 68
         }
69 69
 
70 70
         return $dbg;
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
         // 5. is it cascadable ?
119 119
         if (preg_match(self::RX_MVC, $configuration, $m) === 1) {
120 120
 
121
-            $class_name = $this->cascadeNamespace($m[1] . '\\' . $m[2]);
121
+            $class_name = $this->cascadeNamespace($m[1].'\\'.$m[2]);
122 122
 
123 123
             if (!isset($m[3])) {
124 124
                 return $this->getInstance($class_name);
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
 
176 176
         // not fully namespaced, lets cascade
177 177
         foreach ($this->namespace_cascade as $ns) {
178
-            if (class_exists($fully_namespaced = $ns . $class_name)) {
178
+            if (class_exists($fully_namespaced = $ns.$class_name)) {
179 179
                 $this->resolved($class_name, $fully_namespaced);
180 180
                 return $fully_namespaced;
181 181
             }
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
                 if ($param->getType()) {
270 270
                     $construction_args [] = $this->get($param->getType()->getName());
271 271
                 } else {
272
-                    $setting = 'settings.Constructor.' . $constructor->class . '.' . $param->getName();
272
+                    $setting = 'settings.Constructor.'.$constructor->class.'.'.$param->getName();
273 273
                     $construction_args [] = $this->getSettings($setting);
274 274
                 }
275 275
                 // } catch (NotFoundExceptionInterface $e) {
Please login to merge, or discard this patch.