diff --git a/src/Forms/Components/RadioDeck.php b/src/Forms/Components/RadioDeck.php index 9f7fdaa..5f1bd83 100644 --- a/src/Forms/Components/RadioDeck.php +++ b/src/Forms/Components/RadioDeck.php @@ -32,9 +32,9 @@ class RadioDeck extends IntermediaryRadio use HasIconSizes; use HasPadding; - protected Arrayable|Closure|array|null $icons = null; + protected array|Arrayable|Closure|string|null $icons = null; - protected Arrayable|Closure|array $descriptions = []; + protected array|Arrayable|Closure|string $descriptions = []; protected string $view = 'radio-deck::forms.components.radio-deck'; diff --git a/src/Intermediary/IntermediaryRadio.php b/src/Intermediary/IntermediaryRadio.php index 9bb0532..76dc7de 100644 --- a/src/Intermediary/IntermediaryRadio.php +++ b/src/Intermediary/IntermediaryRadio.php @@ -23,7 +23,7 @@ class IntermediaryRadio extends Field implements ContractsCanDisableOptions use HasGridDirection; use HasOptions; - protected Arrayable|Closure|array $descriptions = []; + protected array|Arrayable|Closure|string $descriptions = []; /** * @param array | Arrayable | string | Closure $descriptions