@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | */ |
101 | 101 | public function getId(): int |
102 | 102 | { |
103 | - return (int)$this->id; |
|
103 | + return (int) $this->id; |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | */ |
209 | 209 | public function getSpecialOfferPrice() |
210 | 210 | { |
211 | - return DandomainFoundation\createMoney((string)$this->currencyCode, (int)$this->specialOfferPrice); |
|
211 | + return DandomainFoundation\createMoney((string) $this->currencyCode, (int) $this->specialOfferPrice); |
|
212 | 212 | } |
213 | 213 | |
214 | 214 | /** |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | */ |
218 | 218 | public function setSpecialOfferPrice(Money $specialOfferPrice = null) |
219 | 219 | { |
220 | - if($specialOfferPrice) { |
|
220 | + if ($specialOfferPrice) { |
|
221 | 221 | $this->specialOfferPrice = $specialOfferPrice->getAmount(); |
222 | 222 | $this->setCurrencyCode($specialOfferPrice->getCurrency()->getCode()); |
223 | 223 | } else { |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | */ |
232 | 232 | public function getUnitPrice() |
233 | 233 | { |
234 | - return DandomainFoundation\createMoney((string)$this->currencyCode, (int)$this->unitPrice); |
|
234 | + return DandomainFoundation\createMoney((string) $this->currencyCode, (int) $this->unitPrice); |
|
235 | 235 | } |
236 | 236 | |
237 | 237 | /** |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | */ |
241 | 241 | public function setUnitPrice(Money $unitPrice = null) |
242 | 242 | { |
243 | - if($unitPrice) { |
|
243 | + if ($unitPrice) { |
|
244 | 244 | $this->unitPrice = $unitPrice->getAmount(); |
245 | 245 | $this->setCurrencyCode($unitPrice->getCurrency()->getCode()); |
246 | 246 | } else { |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | */ |
270 | 270 | public function getId(): int |
271 | 271 | { |
272 | - return (int)$this->id; |
|
272 | + return (int) $this->id; |
|
273 | 273 | } |
274 | 274 | |
275 | 275 | /** |
@@ -287,7 +287,7 @@ discard block |
||
287 | 287 | */ |
288 | 288 | public function getExternalId(): int |
289 | 289 | { |
290 | - return (int)$this->externalId; |
|
290 | + return (int) $this->externalId; |
|
291 | 291 | } |
292 | 292 | |
293 | 293 | /** |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | */ |
68 | 68 | public function getId(): int |
69 | 69 | { |
70 | - return (int)$this->id; |
|
70 | + return (int) $this->id; |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | */ |
86 | 86 | public function getExternalId(): string |
87 | 87 | { |
88 | - return (string)$this->externalId; |
|
88 | + return (string) $this->externalId; |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | */ |
270 | 270 | public function getId(): int |
271 | 271 | { |
272 | - return (int)$this->id; |
|
272 | + return (int) $this->id; |
|
273 | 273 | } |
274 | 274 | |
275 | 275 | /** |
@@ -287,7 +287,7 @@ discard block |
||
287 | 287 | */ |
288 | 288 | public function getExternalId(): int |
289 | 289 | { |
290 | - return (int)$this->externalId; |
|
290 | + return (int) $this->externalId; |
|
291 | 291 | } |
292 | 292 | |
293 | 293 | /** |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | */ |
270 | 270 | public function getId(): int |
271 | 271 | { |
272 | - return (int)$this->id; |
|
272 | + return (int) $this->id; |
|
273 | 273 | } |
274 | 274 | |
275 | 275 | /** |
@@ -287,7 +287,7 @@ discard block |
||
287 | 287 | */ |
288 | 288 | public function getExternalId(): int |
289 | 289 | { |
290 | - return (int)$this->externalId; |
|
290 | + return (int) $this->externalId; |
|
291 | 291 | } |
292 | 292 | |
293 | 293 | /** |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | */ |
270 | 270 | public function getId(): int |
271 | 271 | { |
272 | - return (int)$this->id; |
|
272 | + return (int) $this->id; |
|
273 | 273 | } |
274 | 274 | |
275 | 275 | /** |
@@ -287,7 +287,7 @@ discard block |
||
287 | 287 | */ |
288 | 288 | public function getExternalId(): int |
289 | 289 | { |
290 | - return (int)$this->externalId; |
|
290 | + return (int) $this->externalId; |
|
291 | 291 | } |
292 | 292 | |
293 | 293 | /** |
@@ -94,7 +94,7 @@ |
||
94 | 94 | */ |
95 | 95 | public function getId(): int |
96 | 96 | { |
97 | - return (int)$this->id; |
|
97 | + return (int) $this->id; |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | /** |
@@ -94,7 +94,7 @@ |
||
94 | 94 | */ |
95 | 95 | public function getId(): int |
96 | 96 | { |
97 | - return (int)$this->id; |
|
97 | + return (int) $this->id; |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | /** |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | */ |
119 | 119 | public function getId(): int |
120 | 120 | { |
121 | - return (int)$this->id; |
|
121 | + return (int) $this->id; |
|
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | */ |
227 | 227 | public function getTotalPrice() |
228 | 228 | { |
229 | - return DandomainFoundation\createMoney((string)$this->getOrder()->getCurrencyCode(), (int)$this->totalPrice); |
|
229 | + return DandomainFoundation\createMoney((string) $this->getOrder()->getCurrencyCode(), (int) $this->totalPrice); |
|
230 | 230 | } |
231 | 231 | |
232 | 232 | /** |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | */ |
246 | 246 | public function getUnitPrice() |
247 | 247 | { |
248 | - return DandomainFoundation\createMoney((string)$this->getOrder()->getCurrencyCode(), (int)$this->unitPrice); |
|
248 | + return DandomainFoundation\createMoney((string) $this->getOrder()->getCurrencyCode(), (int) $this->unitPrice); |
|
249 | 249 | } |
250 | 250 | |
251 | 251 | /** |