From 635b12735745859b2a9188d1a164aaaffbdd06f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Sessing=C3=B8?= Date: Tue, 23 Mar 2021 15:06:21 +0100 Subject: [PATCH] Fixed correct return type for InputFile. --- src/Pecee/Http/Input/InputFile.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Pecee/Http/Input/InputFile.php b/src/Pecee/Http/Input/InputFile.php index 2919187..c2c345f 100644 --- a/src/Pecee/Http/Input/InputFile.php +++ b/src/Pecee/Http/Input/InputFile.php @@ -261,16 +261,16 @@ class InputFile implements IInputItem return $this->getTmpName(); } - public function getValue(): ?string + public function getValue() { return $this->getFilename(); } /** - * @param string $value + * @param mixed $value * @return static */ - public function setValue(string $value): IInputItem + public function setValue($value): IInputItem { $this->filename = $value;