mirror of
https://github.com/archtechx/money.git
synced 2025-12-12 03:14:03 +00:00
fix: no more currency guessing
This commit is contained in:
parent
93aeb2c300
commit
a8d32a0be8
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ final class Money implements JsonSerializable, Arrayable, Wireable
|
||||||
? currency($currency)
|
? currency($currency)
|
||||||
: PriceFormatter::extractCurrency($formatted);
|
: PriceFormatter::extractCurrency($formatted);
|
||||||
|
|
||||||
$decimal = PriceFormatter::resolve($formatted, currency($currency), variadic_array($overrides));
|
$decimal = PriceFormatter::resolve($formatted, $currency, variadic_array($overrides));
|
||||||
|
|
||||||
return static::fromDecimal($decimal, currency($currency));
|
return static::fromDecimal($decimal, currency($currency));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue