Passed
Push — master ( 57f4f6...f7a67d )
by Bruno
10:20
created
Formularium/Formularium.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     public static function getDatatypeNames(): array
17 17
     {
18 18
         $datatypes = array_map(
19
-            function ($x) {
19
+            function($x) {
20 20
                 return str_replace('Datatype_', '', str_replace('.php', '', $x));
21 21
             },
22 22
             array_diff(scandir(__DIR__ . '/Datatype/'), array('.', '..'))
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         // TODO: avoid abstract classes
26 26
         $datatypes = array_filter(
27 27
             $datatypes,
28
-            function ($t) {
28
+            function($t) {
29 29
                 return ($t !== 'number' && $t !== 'choice' && $t !== 'association');
30 30
             }
31 31
         );
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
         foreach ($validators as $name => $v) {
58 58
             $args = array_map(
59
-                function ($a) {
59
+                function($a) {
60 60
                     return <<<EOF
61 61
     """
62 62
     {$a['comment']}
Please login to merge, or discard this patch.