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;