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