Passed
Push — implement_memcached_sessions ( 6ecce1 )
by Paweł
58:27 queued 27:27
created
src/SWP/Bundle/CoreBundle/Twig/StringyExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     {
66 66
         $stringyClass = new \ReflectionClass('Stringy\Stringy');
67 67
         $methods = $stringyClass->getMethods(\ReflectionMethod::IS_PUBLIC);
68
-        $names = array_map(function ($value) {
68
+        $names = array_map(function($value) {
69 69
             return $value->getName();
70 70
         }, $methods);
71 71
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
                 if ($this->environment->getFunction($name)) {
84 84
                     continue;
85 85
                 }
86
-                $this->functions[$name] = new \Twig_SimpleFunction($name, function () use ($name) {
86
+                $this->functions[$name] = new \Twig_SimpleFunction($name, function() use ($name) {
87 87
                     return call_user_func_array(['Stringy\StaticStringy', $name], func_get_args());
88 88
                 });
89 89
             } else {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
                 if ($this->environment->getFilter($name)) {
92 92
                     continue;
93 93
                 }
94
-                $this->filters[$name] = new \Twig_SimpleFilter($name, function () use ($name) {
94
+                $this->filters[$name] = new \Twig_SimpleFilter($name, function() use ($name) {
95 95
                     return call_user_func_array(['Stringy\StaticStringy', $name], func_get_args());
96 96
                 });
97 97
             }
Please login to merge, or discard this patch.