@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | $fields = []; |
31 | 31 | $datatypes = array_map( |
32 | - function ($x) { |
|
32 | + function($x) { |
|
33 | 33 | return str_replace('Datatype_', '', str_replace('.php', '', $x)); |
34 | 34 | }, |
35 | 35 | array_diff(scandir(__DIR__ . '/../Formularium/Datatype/'), array('.', '..')) |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | // TODO: avoid abstract classes |
38 | 38 | $datatypes = array_filter( |
39 | 39 | $datatypes, |
40 | - function ($t) { |
|
40 | + function($t) { |
|
41 | 41 | return ($t !== 'number' && $t !== 'choice'); |
42 | 42 | } |
43 | 43 | ); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | { |
28 | 28 | // add extra classes |
29 | 29 | $previous->walk( |
30 | - function ($e) { |
|
30 | + function($e) { |
|
31 | 31 | if ($e instanceof HTMLElement) { |
32 | 32 | if ($e->getTag() === 'input') { |
33 | 33 | $e->setTag('b-datetimepicker'); |