Skip to content

Commit

Permalink
fix: add null as return type to match $panel->getUrl();
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgiovanny committed Sep 12, 2024
1 parent 521f2e0 commit 0507190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/panel-switch-menu.blade.php
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit 0507190

Please sign in to comment.