From 6a70e11084a5c45e520e7ead899537377596d633 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Sun, 22 Oct 2023 17:14:44 +0200 Subject: [PATCH] typo --- src/Forms/Controls/BaseControl.php | 2 +- src/Forms/Form.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {