Skip to content

Commit

Permalink
Remove 4th param since it's no longer needed (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
jenky committed Aug 5, 2019
1 parent 95896d8 commit 19123d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function chunks($name, Closure $closure)
$this->appendData($filePath, $file);

if ($chunk == $chunks - 1) {
$file = new UploadedFile($filePath, $originalName, 'blob', count($filePath), UPLOAD_ERR_OK, true);
$file = new UploadedFile($filePath, $originalName, 'blob', UPLOAD_ERR_OK, true);
@unlink($filePath);

return $closure($file);
Expand Down

0 comments on commit 19123d6

Please sign in to comment.