This commit is contained in:
Simon Sessingø
2016-11-28 04:20:34 +01:00
parent 74351e0330
commit d9b97ccf42
10 changed files with 74 additions and 132 deletions
+2 -3
View File
@@ -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;
}
/**