Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
lam0819 committed Oct 18, 2024
1 parent 8aed9c2 commit 6e5d3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/PanOverview.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function table(Table $table): Table
TextColumn::make('name')->searchable(),
TextColumn::make('impressions')
->sortable()
->formatStateUsing(fn ($state) => number_format($state, 0, '.', ',')),
->formatStateUsing(fn (mixed $state) => number_format($state, 0, '.', ',')),
TextColumn::make('hovers')
->formatStateUsing(
fn (mixed $state, ?PanAnalytics $record) => number_format($state) . ' (' . number_format($record->hover_percentage, 1) . '%)'
Expand Down

0 comments on commit 6e5d3ef

Please sign in to comment.