1
0
Fork 0
mirror of https://github.com/archtechx/money.git synced 2025-12-12 03:14:03 +00:00

Fix code style (php-cs-fixer)

This commit is contained in:
PHP CS Fixer 2022-05-16 11:12:34 +00:00
parent 269274586a
commit 2021b13092

View file

@ -26,7 +26,7 @@ class PriceFormatter
if ($currency->trimTrailingDecimalZeros()) {
// Remove trailing zeros from the formatted string
$decimal = rtrim($decimal, '0');
// Once there are no more decimal values, remove the decimal separator as well
$decimal = rtrim($decimal, $currency->decimalSeparator());
}