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

Fix code style (php-cs-fixer)

This commit is contained in:
PHP CS Fixer 2022-03-09 07:37:04 +00:00
parent 2329dcf790
commit fa337d29b4

View file

@ -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.');
}