Passed
Push — master ( 18cf56...d3208c )
by Bruno
07:03 queued 02:17
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.
Formularium/CodeGenerator/CodeGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,12 +28,12 @@
 block discarded – undo
28 28
     {
29 29
         $classes = DatatypeGeneratorFactory::specializedFactoryAll($this);
30 30
         $declarations = array_map(
31
-            function (DatatypeGenerator $c) {
31
+            function(DatatypeGenerator $c) {
32 32
                 return $c->datatypeDeclaration($this);
33 33
             },
34 34
             $classes
35 35
         );
36
-        $cleanDeclarations = array_filter($declarations, function ($d) {
36
+        $cleanDeclarations = array_filter($declarations, function($d) {
37 37
             return $d;
38 38
         });
39 39
         return join("\n", $cleanDeclarations);
Please login to merge, or discard this patch.