Passed
Branch master (20c4b2)
by Alan
11:03
created
Category
src/Money.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -374,8 +374,8 @@  discard block
 block discarded – undo
374 374
     public function formatWith(\NumberFormatter $formatter)
375 375
     {
376 376
         return $formatter->formatCurrency(
377
-            (string)$this->amount,
378
-            (string)$this->currency
377
+            (string) $this->amount,
378
+            (string) $this->currency
379 379
         );
380 380
     }
381 381
 
@@ -412,8 +412,8 @@  discard block
 block discarded – undo
412 412
     public function jsonSerialize()
413 413
     {
414 414
         return [
415
-            'amount' => (string)$this->amount,
416
-            'currency' => (string)$this->currency,
415
+            'amount' => (string) $this->amount,
416
+            'currency' => (string) $this->currency,
417 417
         ];
418 418
     }
419 419
 }
Please login to merge, or discard this patch.