@@ -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 | /** |
@@ -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 | /** |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | */ |
120 | 120 | public function getId(): int |
121 | 121 | { |
122 | - return (int)$this->id; |
|
122 | + return (int) $this->id; |
|
123 | 123 | } |
124 | 124 | |
125 | 125 | /** |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | */ |
138 | 138 | public function getExternalId(): int |
139 | 139 | { |
140 | - return (int)$this->externalId; |
|
140 | + return (int) $this->externalId; |
|
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | */ |
228 | 228 | public function getTotalPrice() |
229 | 229 | { |
230 | - return DandomainFoundation\createMoney((string)$this->getOrder()->getCurrencyCode(), (int)$this->totalPrice); |
|
230 | + return DandomainFoundation\createMoney((string) $this->getOrder()->getCurrencyCode(), (int) $this->totalPrice); |
|
231 | 231 | } |
232 | 232 | |
233 | 233 | /** |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | */ |
247 | 247 | public function getUnitPrice() |
248 | 248 | { |
249 | - return DandomainFoundation\createMoney((string)$this->getOrder()->getCurrencyCode(), (int)$this->unitPrice); |
|
249 | + return DandomainFoundation\createMoney((string) $this->getOrder()->getCurrencyCode(), (int) $this->unitPrice); |
|
250 | 250 | } |
251 | 251 | |
252 | 252 | /** |
@@ -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 | /** |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | $category = $category->getExternalId(); |
195 | 195 | } |
196 | 196 | |
197 | - return $this->parentCategories->exists(function ($key, CategoryInterface $element) use ($category) { |
|
197 | + return $this->parentCategories->exists(function($key, CategoryInterface $element) use ($category) { |
|
198 | 198 | return $element->getExternalId() === $category; |
199 | 199 | }); |
200 | 200 | } |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | */ |
215 | 215 | public function getId(): int |
216 | 216 | { |
217 | - return (int)$this->id; |
|
217 | + return (int) $this->id; |
|
218 | 218 | } |
219 | 219 | |
220 | 220 | /** |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | */ |
233 | 233 | public function getExternalId(): int |
234 | 234 | { |
235 | - return (int)$this->externalId; |
|
235 | + return (int) $this->externalId; |
|
236 | 236 | } |
237 | 237 | |
238 | 238 | /** |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | */ |
251 | 251 | public function getNumber(): string |
252 | 252 | { |
253 | - return (string)$this->number; |
|
253 | + return (string) $this->number; |
|
254 | 254 | } |
255 | 255 | |
256 | 256 | /** |
@@ -133,7 +133,7 @@ |
||
133 | 133 | */ |
134 | 134 | public function getExternalId(): int |
135 | 135 | { |
136 | - return (int)$this->externalId; |
|
136 | + return (int) $this->externalId; |
|
137 | 137 | } |
138 | 138 | |
139 | 139 | /** |
@@ -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 | /** |
@@ -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 | /** |