Skip to content

Commit c26184b

Browse files
committed
styling
1 parent 11d61be commit c26184b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Money.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ public function formatForHumans(?string $locale = null, ?Closure $callback = nul
608608
$prefix = $this->currency->getPrefix();
609609
$suffix = $this->currency->getSuffix();
610610

611-
$formatter = new \NumberFormatter(is_null($locale) ? static::getLocale():$locale, \NumberFormatter::PADDING_POSITION);
611+
$formatter = new \NumberFormatter(is_null($locale) ? static::getLocale() : $locale, \NumberFormatter::PADDING_POSITION);
612612

613613
$formatter->setSymbol(\NumberFormatter::DECIMAL_SEPARATOR_SYMBOL, $this->currency->getDecimalMark());
614614
$formatter->setSymbol(\NumberFormatter::GROUPING_SEPARATOR_SYMBOL, $this->currency->getThousandsSeparator());
@@ -634,7 +634,7 @@ public function formatLocale(?string $locale = null, ?Closure $callback = null):
634634
}
635635
// @codeCoverageIgnoreEnd
636636

637-
$formatter = new \NumberFormatter(is_null($locale) ? static::getLocale():$locale, \NumberFormatter::CURRENCY);
637+
$formatter = new \NumberFormatter(is_null($locale) ? static::getLocale() : $locale, \NumberFormatter::CURRENCY);
638638

639639
$formatter->setSymbol(\NumberFormatter::DECIMAL_SEPARATOR_SYMBOL, $this->currency->getDecimalMark());
640640
$formatter->setSymbol(\NumberFormatter::GROUPING_SEPARATOR_SYMBOL, $this->currency->getThousandsSeparator());

0 commit comments

Comments
 (0)