Skip to content

Commit

Permalink
Fix code style (php-cs-fixer)
Browse files Browse the repository at this point in the history
  • Loading branch information
PHP CS Fixer committed May 16, 2022
1 parent 2692745 commit 2021b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PriceFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function format(float $decimal, Currency $currency, array $overrid
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());
}
Expand Down

0 comments on commit 2021b13

Please sign in to comment.