Passed
Push — 1.0.0 ( f58402...681a4e )
by Alex
01:36
created
src/Money.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function amountFloat(): float
27 27
     {
28
-        return (float)($this->amount() / pow(10, $this->currency->config()->decimals()));
28
+        return (float) ($this->amount() / pow(10, $this->currency->config()->decimals()));
29 29
     }
30 30
 
31 31
     public function currency(): Currency
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     public function formatted(string $thousandsSeparator = ',', string $decimalsSeparator = '.'): string
37 37
     {
38
-        return $this->currency->value() . ' ' .
38
+        return $this->currency->value().' '.
39 39
             number_format(
40 40
                 $this->amountFloat(),
41 41
                 $this->currency->config()->decimals(),
Please login to merge, or discard this patch.