Skip to content

Commit b96f442

Browse files
authored
Add Htmlable to getDescription method return type in HasDescription contract (#18912)
1 parent aab069c commit b96f442

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/support/src/Contracts/HasDescription.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace Filament\Support\Contracts;
44

5+
use Illuminate\Contracts\Support\Htmlable;
6+
57
interface HasDescription
68
{
7-
public function getDescription(): ?string;
9+
public function getDescription(): string | Htmlable | null;
810
}

0 commit comments

Comments
 (0)