File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2222 "require" : {
2323 "php" : " ^8.1" ,
2424 "filament/filament" : " ^2.0" ,
25- "spatie/laravel-package-tools" : " ^1.13.5"
25+ "spatie/laravel-package-tools" : " ^1.13.5" ,
26+ "ext-bcmath" : " *"
2627 },
2728 "require-dev" : {
2829 "laravel/pint" : " ^1.0" ,
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public function getData(): array
6262 ->toArray ();
6363 }
6464
65- public function formatRawCount ($ number ): string
65+ public function formatRawCount (string $ number ): string
6666 {
6767 return number_format ($ number );
6868 }
@@ -87,7 +87,7 @@ public function convertCount(string $number): string
8787 return $ number ;
8888 }
8989
90- public function shouldShowTooltip ($ number ): bool
90+ public function shouldShowTooltip (string $ number ): bool
9191 {
9292 return strlen ($ number ) >= 4 && config ('overlook.should_convert_count ' ) && config ('overlook.enable_convert_tooltip ' );
9393 }
You can’t perform that action at this time.
0 commit comments