Fixed correct return type for InputFile.

This commit is contained in:
Simon Sessingø
2021-03-23 15:06:21 +01:00
parent b9af44299e
commit 635b127357
+3 -3
View File
@@ -261,16 +261,16 @@ class InputFile implements IInputItem
return $this->getTmpName(); return $this->getTmpName();
} }
public function getValue(): ?string public function getValue()
{ {
return $this->getFilename(); return $this->getFilename();
} }
/** /**
* @param string $value * @param mixed $value
* @return static * @return static
*/ */
public function setValue(string $value): IInputItem public function setValue($value): IInputItem
{ {
$this->filename = $value; $this->filename = $value;