Completed
Push — master ( 257f70...0f3ddf )
by Joachim
11:05
created
src/Entity/OrderLine.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     public function getUnitPriceInclVat() : ?Money
149 149
     {
150 150
         $unitPrice = $this->getUnitPrice();
151
-        if(!$unitPrice) {
151
+        if (!$unitPrice) {
152 152
             return null;
153 153
         }
154 154
 
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
     public function getTotalPriceInclVat() : ?Money
166 166
     {
167 167
         $totalPrice = $this->getTotalPrice();
168
-        if(!$totalPrice) {
168
+        if (!$totalPrice) {
169 169
             return null;
170 170
         }
171 171
 
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
      */
185 185
     public function getId(): int
186 186
     {
187
-        return (int)$this->id;
187
+        return (int) $this->id;
188 188
     }
189 189
 
190 190
     /**
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      */
203 203
     public function getExternalId(): int
204 204
     {
205
-        return (int)$this->externalId;
205
+        return (int) $this->externalId;
206 206
     }
207 207
 
208 208
     /**
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
      */
293 293
     public function getTotalPrice()
294 294
     {
295
-        return DandomainFoundation\createMoney((string)$this->getOrder()->getCurrencyCode(), (int)$this->totalPrice);
295
+        return DandomainFoundation\createMoney((string) $this->getOrder()->getCurrencyCode(), (int) $this->totalPrice);
296 296
     }
297 297
 
298 298
     /**
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
      */
312 312
     public function getUnitPrice()
313 313
     {
314
-        return DandomainFoundation\createMoney((string)$this->getOrder()->getCurrencyCode(), (int)$this->unitPrice);
314
+        return DandomainFoundation\createMoney((string) $this->getOrder()->getCurrencyCode(), (int) $this->unitPrice);
315 315
     }
316 316
 
317 317
     /**
Please login to merge, or discard this patch.