Passed
Push — main ( 4fd35f...29c299 )
by Sammy
01:41
created
LeMarchand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
                 return $class_name;
86 86
             }
87 87
 
88
-            if($m[2] === 'Interface'){
88
+            if ($m[2] === 'Interface') {
89 89
               $wire = $this->getSettings('settings.interface_implementations');
90 90
               if (!isset($wire[$configuration])) {
91 91
                 throw new ConfigurationException($configuration);
@@ -133,12 +133,12 @@  discard block
 block discarded – undo
133 133
         }
134 134
 
135 135
         if ($mvc_type === 'Controller') {
136
-            $class_name = $class_name . 'Controller';
136
+            $class_name = $class_name.'Controller';
137 137
         }
138 138
 
139 139
         // not fully namespaced, lets cascade
140 140
         foreach ($this->getSettings('settings.namespaces') as $ns) {
141
-            if (class_exists($full_name = $ns . $mvc_type . 's\\' . $class_name)) {
141
+            if (class_exists($full_name = $ns.$mvc_type.'s\\'.$class_name)) {
142 142
                 return $full_name;
143 143
             }
144 144
         }
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
             $construction_args = [];
155 155
             if (!is_null($rc->getConstructor())) {
156 156
                 foreach ($rc->getConstructor()->getParameters() as $param) {
157
-                    $construction_args [] = $this->get($param->getType() . '');
157
+                    $construction_args [] = $this->get($param->getType().'');
158 158
                 }
159 159
                 $instance = $rc->newInstanceArgs($construction_args);
160 160
             } else {
Please login to merge, or discard this patch.