Skip to content

Commit

Permalink
Fix parameter name for proper injection
Browse files Browse the repository at this point in the history
  • Loading branch information
pelmered committed Jul 24, 2024
1 parent acc3593 commit 2c1c5e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tables/Columns/MoneyColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ protected function setUp(): void
$this->isMoney = true;
$this->numeric();

$this->formatStateUsing(function (MoneyColumn $column, $state): string {
return MoneyFormatter::format($state, $column->getCurrency(), $column->getLocale());
$this->formatStateUsing(function (MoneyColumn $component, $state): string {
return MoneyFormatter::format($state, $component->getCurrency(), $component->getLocale());
});
}

Expand Down

0 comments on commit 2c1c5e6

Please sign in to comment.