Skip to content

Commit 6f5cc17

Browse files
Hasnayeengithub-actions[bot]
authored andcommitted
Fix styling
1 parent 2f01784 commit 6f5cc17

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Http/Middleware/SetTheme.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,15 @@ public function handle(Request $request, Closure $next): Response
3535

3636
/**
3737
* Important for Laravel Octane!
38-
*
38+
*
3939
* Check if item already exists before adding it
4040
* to the menu items.
4141
*/
42-
if(!isset($panel->getUserMenuItems()[__('themes::themes.themes')])){
42+
if (! isset($panel->getUserMenuItems()[__('themes::themes.themes')])) {
4343
$panel->userMenuItems(
4444
ThemesPlugin::canView() ?
4545
[
46-
__('themes::themes.themes') =>
47-
MenuItem::make('Themes')
46+
__('themes::themes.themes') => MenuItem::make('Themes')
4847
->label(__('themes::themes.themes'))
4948
->icon(config('themes.icon'))
5049
->url(ThemesPage::getUrl()),

0 commit comments

Comments
 (0)