mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 21:02:15 +00:00
Fixed correct return type for InputFile.
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user