File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,7 @@ public function setUp(): void
44
44
45
45
if ($ usedInMenu ) {
46
46
$ action ->failure ();
47
- }
48
- else {
47
+ } else {
49
48
$ this ->process (static fn (Collection $ records ) => $ records ->each (fn (Model &HasMenuLabel $ record ) => $ record ->delete ()));
50
49
$ action ->success ();
51
50
}
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ protected static function getAdvancedTabFields(): array
168
168
->searchable (['title ' , 'code ' , 'slug ' , 'intro ' ]);
169
169
}
170
170
171
- if (!empty ($ gridFields )) {
171
+ if (! empty ($ gridFields )) {
172
172
$ fields [] = Grid::make ()->schema ($ gridFields );
173
173
}
174
174
@@ -198,7 +198,7 @@ public static function table(Table $table): Table
198
198
LinkedToMenuItemBulkDeleteAction::make (),
199
199
])
200
200
->recordUrl (
201
- fn ($ record ): string => static ::getUrl ('edit ' , ['record ' => $ record ])
201
+ fn ($ record ): string => static ::getUrl ('edit ' , ['record ' => $ record ])
202
202
)
203
203
->modifyQueryUsing (function (Builder $ query ) {
204
204
$ query ->with (['menuItem ' ]);
You can’t perform that action at this time.
0 commit comments