@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | { |
38 | 38 | return [ |
39 | 39 | new \Twig_SimpleFunction('config', [Configure::class, 'read']), |
40 | - new \Twig_SimpleFunction('write_config', function ($key, $val) { |
|
40 | + new \Twig_SimpleFunction('write_config', function($key, $val) { |
|
41 | 41 | // avoid unwanted return value display in templates |
42 | 42 | Configure::write($key, $val); |
43 | 43 | |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | return [ |
55 | 55 | new \Twig_SimpleFilter( |
56 | 56 | 'shuffle', |
57 | - function (array $array) { |
|
57 | + function(array $array) { |
|
58 | 58 | shuffle($array); |
59 | 59 | |
60 | 60 | return $array; |