@@ -16,7 +16,7 @@ discard block |
||
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 |
||
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 |
||
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']} |