@@ -28,13 +28,13 @@ |
||
28 | 28 | return [ |
29 | 29 | new \Twig_SimpleFunction( |
30 | 30 | 'preference_value', |
31 | - function ($key) { |
|
31 | + function($key) { |
|
32 | 32 | return $this->dispatch(new GetPreferenceValue($key)); |
33 | 33 | } |
34 | 34 | ), |
35 | 35 | new \Twig_SimpleFunction( |
36 | 36 | 'preference', |
37 | - function ($key) { |
|
37 | + function($key) { |
|
38 | 38 | |
39 | 39 | /* @var PreferenceInterface $preference */ |
40 | 40 | if (!$preference = $this->dispatch(new GetPreference($key))) { |