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:
parent
2329dcf790
commit
fa337d29b4
1 changed files with 1 additions and 1 deletions
|
|
@ -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.');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue