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 {