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
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 }
Original file line number Diff line number Diff 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 ' ]);
You can’t perform that action at this time.
0 commit comments