Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 944b55a

Browse files
committed
Merge branch 'hotfix/137'
Close #137
2 parents 2754bf0 + f3c2a23 commit 944b55a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/UploadedFile.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ class UploadedFile implements UploadedFileInterface
5151
*/
5252
private $stream;
5353

54+
/**
55+
* @param string|resource $streamOrFile
56+
* @param int $size
57+
* @param int $errorStatus
58+
* @param string|null $clientFilename
59+
* @param string|null $clientMediaType
60+
* @throws InvalidArgumentException
61+
*/
5462
public function __construct($streamOrFile, $size, $errorStatus, $clientFilename = null, $clientMediaType = null)
5563
{
5664
if ($errorStatus === UPLOAD_ERR_OK) {

0 commit comments

Comments
 (0)