Passed
Push — master ( 81fff5...868019 )
by Luiz Kim
02:19
created
src/Service/OrderProductService.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,9 @@
 block discarded – undo
53 53
 
54 54
     public function __destruct()
55 55
     {
56
-        if (!$this->order)
57
-            return;
56
+        if (!$this->order) {
57
+                    return;
58
+        }
58 59
         $this->orderService->calculateOrderPrice($this->order);
59 60
         $this->orderService->calculateGroupProductPrice($this->order);
60 61
     }
Please login to merge, or discard this patch.