diff --git a/src/Filament/Components/MailEditor.php b/src/Filament/Components/MailEditor.php index e57e00d..e937689 100644 --- a/src/Filament/Components/MailEditor.php +++ b/src/Filament/Components/MailEditor.php @@ -23,7 +23,7 @@ class MailEditor extends Field { protected string $view = 'mail-builder::filament.mail-editor'; - /** @var array|Closure(): (array|null) */ + /** @var array|Closure */ protected array|Closure $theme = []; /** @@ -32,7 +32,7 @@ class MailEditor extends Field * * ->theme(fn (Get $get): array => $get('theme') ?? []) * - * @param array|Closure(): (array|null) $theme + * @param array|Closure $theme A closure may take any of Filament's injected parameters (`$get`, `$record`, ...) and returns the theme array (or null for none). */ public function theme(array|Closure $theme): static {