@@ -51,7 +51,8 @@ |
||
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 | } |