Passed
Pull Request — master (#36)
by Bruno
07:59
created
Formularium/Factory/AbstractFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     public static function getNames(): array
159 159
     {
160 160
         return static::map(
161
-            function (\ReflectionClass $reflection) {
161
+            function(\ReflectionClass $reflection) {
162 162
                 return static::getNamePair($reflection);
163 163
             }
164 164
         );
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
         foreach (static::getBaseNamespaces() as $ns) {
214 214
             $base = $ns . $subns;
215 215
             $x = array_map(
216
-                function ($f) use ($base) {
216
+                function($f) use ($base) {
217 217
                     $fName = "$base\\$f\\CodeGenerator";
218 218
                     return new $fName();
219 219
                 },
Please login to merge, or discard this patch.