Passed
Push — master ( c53cee...93d9dd )
by Luiz Kim
02:23
created
src/Service/OrderProductService.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,8 @@
 block discarded – undo
51 51
 
52 52
     public function __destruct()
53 53
     {
54
-        if ($this->order)
55
-            $this->orderService->calculateOrderPrice($this->order);
54
+        if ($this->order) {
55
+                    $this->orderService->calculateOrderPrice($this->order);
56
+        }
56 57
     }
57 58
 }
Please login to merge, or discard this patch.
src/Service/OrderService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         RequestStack $requestStack
22 22
 
23 23
     ) {
24
-        $this->request  = $requestStack->getCurrentRequest();
24
+        $this->request = $requestStack->getCurrentRequest();
25 25
     }
26 26
 
27 27
     public function calculateOrderPrice(Order $order)
Please login to merge, or discard this patch.