From eeb61983e33d190ae08df1b4f34a05e36d4e04df Mon Sep 17 00:00:00 2001 From: Peter Elmered Date: Tue, 4 Jun 2024 14:38:17 +0200 Subject: [PATCH] Remove old function --- src/MoneyFormatter.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/MoneyFormatter.php b/src/MoneyFormatter.php index 12957ea..6eb23b1 100644 --- a/src/MoneyFormatter.php +++ b/src/MoneyFormatter.php @@ -110,13 +110,4 @@ private static function getNumberFormatter(string $locale, int $style, int $deci return $numberFormatter; } - - private static function getDecimals(?int $decimals = null): int - { - if (! is_null($decimals)) { - return $decimals; - } - - return (int) config('filament-money-field.decimal_digits', 2); - } }