From 6feddd5cac155219468fdd0b21976e3201f631bc Mon Sep 17 00:00:00 2001 From: Tom H Anderson Date: Tue, 9 Jan 2024 16:27:18 -0700 Subject: [PATCH] Resolved LessSpecificImplementedReturnType from psalm --- src/Form/Element/ObjectMultiCheckbox.php | 2 +- src/Form/Element/ObjectRadio.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Form/Element/ObjectMultiCheckbox.php b/src/Form/Element/ObjectMultiCheckbox.php index 935db30a..c164bd1c 100644 --- a/src/Form/Element/ObjectMultiCheckbox.php +++ b/src/Form/Element/ObjectMultiCheckbox.php @@ -54,7 +54,7 @@ public function setValue($value) /** * {@inheritDoc} * - * @return array + * @return array|string, array{attributes?: array, disabled?: bool, label: non-empty-string, label_attributes?: array, selected?: bool, value: non-empty-string}|string> */ public function getValueOptions(): array { diff --git a/src/Form/Element/ObjectRadio.php b/src/Form/Element/ObjectRadio.php index d21a8eea..00032233 100644 --- a/src/Form/Element/ObjectRadio.php +++ b/src/Form/Element/ObjectRadio.php @@ -41,7 +41,7 @@ public function setValue($value) /** * {@inheritDoc} * - * @return array + * @return array|string, array{attributes?: array, disabled?: bool, label: non-empty-string, label_attributes?: array, selected?: bool, value: non-empty-string}|string> */ public function getValueOptions(): array {