Passed
Push — intl ( e00f8b )
by Arnaud
04:10
created
src/Renderer/Twig.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,10 +100,10 @@
 block discarded – undo
100 100
             $this->builder->getLogger()->debug('Intl extension is loaded');
101 101
         }
102 102
         // filters fallback
103
-        $this->twig->registerUndefinedFilterCallback(function ($name) {
103
+        $this->twig->registerUndefinedFilterCallback(function($name) {
104 104
             switch ($name) {
105 105
                 case 'localizeddate':
106
-                    return new \Twig\TwigFilter($name, function (\DateTime $value = null) {
106
+                    return new \Twig\TwigFilter($name, function(\DateTime $value = null) {
107 107
                         return date((string) $this->builder->getConfig()->get('date.format'), $value->getTimestamp());
108 108
                     });
109 109
             }
Please login to merge, or discard this patch.