From 0507190de6c9e02a039771816e360ce080e24c87 Mon Sep 17 00:00:00 2001 From: Lucas Giovanny Date: Thu, 12 Sep 2024 09:02:32 +0100 Subject: [PATCH] fix: add null as return type to match $panel->getUrl(); --- resources/views/panel-switch-menu.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/panel-switch-menu.blade.php b/resources/views/panel-switch-menu.blade.php index 05dd76d..a772f24 100644 --- a/resources/views/panel-switch-menu.blade.php +++ b/resources/views/panel-switch-menu.blade.php @@ -1,5 +1,5 @@ @php - $getPanelPath = function (\Filament\Panel $panel): string { + $getPanelPath = function (\Filament\Panel $panel): ?string { $filament = app('filament'); $currentPanel = $filament->getCurrentPanel(); $filament->setCurrentPanel($panel);