Skip to content

Commit 8cce70f

Browse files
committed
feat: add optional Panel parameter to getSlug method in MyProfilePage
1 parent 0f925ee commit 8cce70f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Pages/MyProfilePage.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use BackedEnum;
66
use Filament\Pages\Page;
7+
use Filament\Panel;
78
use Illuminate\Contracts\Support\Htmlable;
89

910
class MyProfilePage extends Page
@@ -27,7 +28,7 @@ public function getSubheading(): string|Htmlable|null
2728
return __('wirement-breeze::default.profile.subheading') ?? null;
2829
}
2930

30-
public static function getSlug(): string
31+
public static function getSlug(?Panel $panel = null): string
3132
{
3233
return filament('wirement-breeze')->slug();
3334
}

0 commit comments

Comments
 (0)