Skip to content

Commit 0f7629f

Browse files
stengithub-actions[bot]
authored andcommitted
Fix styling
1 parent 0d64e29 commit 0f7629f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Actions/LinkedToMenuItemBulkDeleteAction.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public function setUp(): void
4444

4545
if ($usedInMenu) {
4646
$action->failure();
47-
}
48-
else {
47+
} else {
4948
$this->process(static fn (Collection $records) => $records->each(fn (Model&HasMenuLabel $record) => $record->delete()));
5049
$action->success();
5150
}

src/Resources/PageResource.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ protected static function getAdvancedTabFields(): array
168168
->searchable(['title', 'code', 'slug', 'intro']);
169169
}
170170

171-
if (!empty($gridFields)) {
171+
if (! empty($gridFields)) {
172172
$fields[] = Grid::make()->schema($gridFields);
173173
}
174174

@@ -198,7 +198,7 @@ public static function table(Table $table): Table
198198
LinkedToMenuItemBulkDeleteAction::make(),
199199
])
200200
->recordUrl(
201-
fn($record): string => static::getUrl('edit', ['record' => $record])
201+
fn ($record): string => static::getUrl('edit', ['record' => $record])
202202
)
203203
->modifyQueryUsing(function (Builder $query) {
204204
$query->with(['menuItem']);

0 commit comments

Comments
 (0)