Completed
Pull Request — master (#39)
by
unknown
02:51
created
src/Resource/Orders.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
      * @return $this
415 415
      */
416 416
     public function setAddition($value) {
417
-        $this->data->subtotals->addition = (float)$value;
417
+        $this->data->subtotals->addition = (float) $value;
418 418
 
419 419
         return $this;
420 420
     }
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
      */
439 439
     public function setDiscount($value) {
440 440
 
441
-        $this->data->amount->subtotals->discount = (float)$value;
441
+        $this->data->amount->subtotals->discount = (float) $value;
442 442
 
443 443
         return $this;
444 444
 
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
      * @return $this
478 478
      */
479 479
     public function setShippingAmount($value) {
480
-        $this->data->amount->subtotals->shipping = (float)$value;
480
+        $this->data->amount->subtotals->shipping = (float) $value;
481 481
 
482 482
         return $this;
483 483
     }
Please login to merge, or discard this patch.