Test Failed
Push — master ( d178d4...f60234 )
by Alexey
05:24
created
system/modules/Menu/widgets/menuCollapse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
     $code = 'main';
7 7
 }
8 8
 $uid = Tools::randomString();
9
-$childDraws = function($item, $childDraws, $uid, $activeFind) {
9
+$childDraws = function ($item, $childDraws, $uid, $activeFind) {
10 10
     if ($item->childs(['order' => ['weight', 'asc']])) {
11 11
         echo "<ul class ='dropdown-menu'>";
12 12
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         echo "</ul>";
24 24
     }
25 25
 };
26
-$activeFind = function($item, $activeFind) {
26
+$activeFind = function ($item, $activeFind) {
27 27
     foreach ($item->childs(['order' => ['weight', 'asc']]) as $item) {
28 28
         if (urldecode($_SERVER['REQUEST_URI']) == $item->href) {
29 29
             return true;
Please login to merge, or discard this patch.
system/modules/Menu/widgets/menu.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 if (empty($code)) {
7 7
     $code = 'main';
8 8
 }
9
-$childDraws = function($item, $childDraws, $activeFind) {
9
+$childDraws = function ($item, $childDraws, $activeFind) {
10 10
     if ($item->childs(['order' => ['weight', 'asc']])) {
11 11
         echo "<ul class ='list-unstyled'>";
12 12
         foreach ($item->childs(['order' => ['weight', 'asc']]) as $item) {
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
         echo "</ul>";
22 22
     }
23 23
 };
24
-$activeFind = function($item, $activeFind) {
24
+$activeFind = function ($item, $activeFind) {
25 25
     foreach ($item->childs(['order' => ['weight', 'asc']]) as $item) {
26 26
         if (urldecode($_SERVER['REQUEST_URI']) == $item->href) {
27 27
             return true;
Please login to merge, or discard this patch.