From 2021b13092fcd8ab5b1d16d9c9bcb18a39e32826 Mon Sep 17 00:00:00 2001 From: PHP CS Fixer Date: Mon, 16 May 2022 11:12:34 +0000 Subject: [PATCH] Fix code style (php-cs-fixer) --- src/PriceFormatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PriceFormatter.php b/src/PriceFormatter.php index 61ea4bc..67f0a19 100644 --- a/src/PriceFormatter.php +++ b/src/PriceFormatter.php @@ -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()); }