Skip to content

Commit

Permalink
Merge a8232d8 into 0ea1625
Browse files Browse the repository at this point in the history
  • Loading branch information
halfpastfouram committed Jul 3, 2020
2 parents 0ea1625 + a8232d8 commit a243f94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/functions/create_uploaded_file.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ function createUploadedFile(array $spec) : UploadedFile

return new UploadedFile(
$spec['tmp_name'],
$spec['size'],
$spec['error'],
intval($spec['size']),
intval($spec['error']),
$spec['name'] ?? null,
$spec['type'] ?? null
);
Expand Down

0 comments on commit a243f94

Please sign in to comment.