Skip to content

Commit 2168ccc

Browse files
committed
fix: resolve PHPStan unused type errors in ActivityLogEvent
1 parent fab1551 commit 2168ccc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Enums/ActivityLogEvent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ enum ActivityLogEvent: string implements HasColor, HasIcon, HasLabel
1515
case Deleted = 'deleted';
1616
case Restored = 'restored';
1717

18-
public function getLabel(): ?string
18+
public function getLabel(): string
1919
{
2020
return match ($this) {
2121
self::Created => __('filament-activity-log::activity.event.created'),
@@ -35,7 +35,7 @@ public function getColor(): string|array|null
3535
};
3636
}
3737

38-
public function getIcon(): ?string
38+
public function getIcon(): string
3939
{
4040
return match ($this) {
4141
self::Created => config('filament-activity-log.events.created.icon', 'heroicon-m-plus'),

0 commit comments

Comments
 (0)