Completed
Pull Request — master (#6)
by Yann
07:34
created
Twig/Extension/EnumExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.