Test Failed
Push — master ( 84d0c3...657dff )
by Alexey
05:26
created
system/modules/Ecommerce/Ecommerce.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
                         }
29 29
                     }
30 30
                 }
31
-                if(!headers_sent()){
31
+                if (!headers_sent()) {
32 32
                     setcookie("ecommerce_favitems", json_encode([]), time() + 360000, "/");
33 33
                 }
34 34
             }
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
         }
357 357
 
358 358
         $categorys = \Ecommerce\Category::getList(['where' => ['parent_id', 0]]);
359
-        $scan = function($category, $scan) {
359
+        $scan = function ($category, $scan) {
360 360
             $map = [];
361 361
 
362 362
             foreach ($category->items as $item) {
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
                         }
29 29
                     }
30 30
                 }
31
-                if(!headers_sent()){
31
+                if(!headers_sent()) {
32 32
                     setcookie("ecommerce_favitems", json_encode([]), time() + 360000, "/");
33 33
                 }
34 34
             }
Please login to merge, or discard this patch.