mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-10-26 22:06:49 +00:00
Bugfixes
This commit is contained in:
@@ -42,14 +42,13 @@ class InputFile implements IInputItem
|
||||
'error' => null,
|
||||
], $values);
|
||||
|
||||
$input = new static($values['index']);
|
||||
$input->setError($values['error'])
|
||||
return (new static($values['index']))
|
||||
->setError($values['error'])
|
||||
->setSize($values['size'])
|
||||
->setType($values['type'])
|
||||
->setTmpName($values['tmp_name'])
|
||||
->setFilename($values['name']);
|
||||
|
||||
return $input;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user