|
@@ -96,7 +96,7 @@ |
|
|
block discarded – undo |
|
96
|
96
|
if (!$this->isSameCurrencyInCurrencyPair($currencyPair)) { |
|
97
|
97
|
throw new \InvalidArgumentException('CurrencyFrom in the CurrencyPair does not match the money currency'); |
|
98
|
98
|
} |
|
99
|
|
- return new Money($currencyPair->currencyTo(), (int)($this->value() * $currencyPair->ratio())); |
|
|
99
|
+ return new Money($currencyPair->currencyTo(), (int) ($this->value() * $currencyPair->ratio())); |
|
100
|
100
|
} |
|
101
|
101
|
|
|
102
|
102
|
/** |
Please login to merge, or discard this patch.