Skip to content

Commit c81c2eb

Browse files
committed
remove FluentNumber::minimumFractionDigits()
1 parent d9b050b commit c81c2eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bundle/Types/FluentNumber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __toString(): string
4747

4848
$formatter->setAttribute(
4949
NumberFormatter::MIN_FRACTION_DIGITS,
50-
$this->minimumFractionDigits(),
50+
$this->minimumFractionDigits ?? 0,
5151
);
5252

5353
return $formatter->format($this->value);

0 commit comments

Comments
 (0)