Completed
Push — master ( 1b194e...a65afb )
by Vladimir
12s
created
src/allejo/stakx/Templating/Twig/Extension/OrderFilter.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,8 @@
 block discarded – undo
16 16
             return $array;
17 17
         }
18 18
 
19
-        usort($array, function ($a, $b) use ($key, $order) {
19
+        usort($array, function ($a, $b) use ($key, $order)
20
+        {
20 21
             if ($a[$key] == $b[$key])
21 22
             {
22 23
                 return 0;
Please login to merge, or discard this patch.
src/allejo/stakx/Templating/Twig/Extension/SelectFilter.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,8 @@
 block discarded – undo
64 64
     private static function flatten(array $array)
65 65
     {
66 66
         $return = [];
67
-        array_walk_recursive($array, function ($a) use (&$return) {
67
+        array_walk_recursive($array, function ($a) use (&$return)
68
+        {
68 69
             $return[] = $a;
69 70
         });
70 71
 
Please login to merge, or discard this patch.