@@ -29,8 +29,8 @@ discard block |
||
| 29 | 29 | public function getFunctions() |
| 30 | 30 | { |
| 31 | 31 | return [ |
| 32 | - new \Twig_SimpleFunction('enum_label', [ $this, 'getLabel' ]), |
|
| 33 | - new \Twig_SimpleFunction('enum_choices', [ $this, 'getChoices' ]), |
|
| 32 | + new \Twig_SimpleFunction('enum_label', [$this, 'getLabel']), |
|
| 33 | + new \Twig_SimpleFunction('enum_choices', [$this, 'getChoices']), |
|
| 34 | 34 | ]; |
| 35 | 35 | } |
| 36 | 36 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | public function getFilters() |
| 41 | 41 | { |
| 42 | 42 | return [ |
| 43 | - new \Twig_SimpleFilter('enum_label', [ $this, 'getLabel' ]), |
|
| 43 | + new \Twig_SimpleFilter('enum_label', [$this, 'getLabel']), |
|
| 44 | 44 | ]; |
| 45 | 45 | } |
| 46 | 46 | |