Skip to content

Commit

Permalink
chore: fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
glennjacobs authored and github-actions[bot] committed May 23, 2024
1 parent 1d707d8 commit 631dedc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/admin/src/Filament/Resources/ChannelResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ protected static function getTableColumns(): array
Badge::make('default')
->label(__('lunarpanel::channel.table.default.label'))
->color('gray')
->visible(fn(Model $record) => $record->default),
->visible(fn (Model $record) => $record->default),
])
->label(__('lunarpanel::channel.table.name.label')),
Tables\Columns\TextColumn::make('handle')
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/src/Filament/Resources/CurrencyResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected static function getDefaultTable(Tables\Table $table): Tables\Table
Badge::make('default')
->label(__('lunarpanel::currency.table.default.label'))
->color('gray')
->visible(fn(Model $record) => $record->default),
->visible(fn (Model $record) => $record->default),
])
->label(__('lunarpanel::currency.table.name.label')),
Tables\Columns\TextColumn::make('code')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected static function getTableColumns(): array
Badge::make('default')
->label(__('lunarpanel::customergroup.table.default.label'))
->color('gray')
->visible(fn(Model $record) => $record->default),
->visible(fn (Model $record) => $record->default),
])
->label(__('lunarpanel::customergroup.table.name.label')),
Tables\Columns\TextColumn::make('handle')
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/src/Filament/Resources/LanguageResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected static function getDefaultTable(Tables\Table $table): Tables\Table
Badge::make('default')
->label(__('lunarpanel::language.table.default.label'))
->color('gray')
->visible(fn(Model $record) => $record->default),
->visible(fn (Model $record) => $record->default),
])
->label(__('lunarpanel::language.table.name.label')),
Tables\Columns\TextColumn::make('code')
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/src/Filament/Resources/TaxClassResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected static function getTableColumns(): array
Badge::make('default')
->label(__('lunarpanel::taxclass.table.default.label'))
->color('gray')
->visible(fn(Model $record) => $record->default),
->visible(fn (Model $record) => $record->default),
])
->label(__('lunarpanel::taxclass.table.name.label')),
];
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/src/Filament/Resources/TaxZoneResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ protected static function getTableColumns(): array
Badge::make('default')
->label(__('lunarpanel::taxzone.table.default.label'))
->color('gray')
->visible(fn(Model $record) => $record->default),
->visible(fn (Model $record) => $record->default),
])
->label(__('lunarpanel::taxzone.table.name.label')),
Tables\Columns\TextColumn::make('zone_type')
Expand Down

0 comments on commit 631dedc

Please sign in to comment.