@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | Assert::greaterThan($quantity, 0); |
21 | 21 | Assert::integerish($quantity); |
22 | - $this->quantity = (int)$quantity; |
|
22 | + $this->quantity = (int) $quantity; |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -70,7 +70,7 @@ |
||
70 | 70 | Assert::integerish($productId); |
71 | 71 | |
72 | 72 | $this->quantity = $quantity; |
73 | - $this->productId = (int)$productId; |
|
73 | + $this->productId = (int) $productId; |
|
74 | 74 | } |
75 | 75 | |
76 | 76 | public static function create(Quantity $quantity, Product $product) |