Skip to content

Commit

Permalink
remove FluentNumber::minimumFractionDigits()
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed Sep 1, 2021
1 parent d9b050b commit c81c2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bundle/Types/FluentNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __toString(): string

$formatter->setAttribute(
NumberFormatter::MIN_FRACTION_DIGITS,
$this->minimumFractionDigits(),
$this->minimumFractionDigits ?? 0,
);

return $formatter->format($this->value);
Expand Down

0 comments on commit c81c2eb

Please sign in to comment.