From 8eb1d804a1750ce80e3b2fd71fc10dc2e2315f56 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 28 Oct 2023 19:08:44 +0200 Subject: [PATCH] Annotate command data generics --- .../framework/src/Console/Commands/PublishHomepageCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/framework/src/Console/Commands/PublishHomepageCommand.php b/packages/framework/src/Console/Commands/PublishHomepageCommand.php index 9b10552f81e..05744d01028 100644 --- a/packages/framework/src/Console/Commands/PublishHomepageCommand.php +++ b/packages/framework/src/Console/Commands/PublishHomepageCommand.php @@ -31,6 +31,7 @@ class PublishHomepageCommand extends Command /** @var string */ protected $description = 'Publish one of the default homepages to index.blade.php.'; + /** @var array */ protected array $options = [ 'welcome'=> [ 'name' => 'Welcome', @@ -96,6 +97,7 @@ protected function formatPublishableChoices(): array })->values()->toArray(); } + /** @return Collection */ protected function getTemplateOptions(): Collection { return new Collection($this->options);