diff --git a/src/Forms/Controls/BaseControl.php b/src/Forms/Controls/BaseControl.php index 2f9de2a27..fea926708 100644 --- a/src/Forms/Controls/BaseControl.php +++ b/src/Forms/Controls/BaseControl.php @@ -132,7 +132,7 @@ public function loadHttpData(): void /** * Loads HTTP data. - * @return mixed + * @return string|string[] */ protected function getHttpData($type, ?string $htmlTail = null) { diff --git a/src/Forms/Form.php b/src/Forms/Form.php index 833d993b3..94129c366 100644 --- a/src/Forms/Form.php +++ b/src/Forms/Form.php @@ -417,7 +417,7 @@ public function setSubmittedBy(?SubmitterControl $by) /** * Returns submitted HTTP data. - * @return mixed + * @return string|string[] */ public function getHttpData(?int $type = null, ?string $htmlName = null) {