From fa337d29b476f21fe8a6c9e0fe150bf9e6c9ff01 Mon Sep 17 00:00:00 2001 From: PHP CS Fixer Date: Wed, 9 Mar 2022 07:37:04 +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 24027ab..d4e2d69 100644 --- a/src/PriceFormatter.php +++ b/src/PriceFormatter.php @@ -35,7 +35,7 @@ class PriceFormatter $removeNonDigits = preg_replace('/[^\d' . preg_quote($currency->decimalSeparator()) . ']/', '', $formatted); - if (!is_string($removeNonDigits)) { + if (! is_string($removeNonDigits)) { throw new \Exception('The formatted string could not be resolved to a valid number.'); }