Completed
Push — master ( 3e9700...7100c6 )
by Joachim
06:01
created
src/Entity/VariantGroup.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Entity/ProductTypeVat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Entity/ProductTypeField.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Entity/TagValue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Entity/OrderLine.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Entity/Period.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Entity/Category.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Entity/CategoryTranslation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Entity/Price.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.