minor #18404 [HttpFoundation] fix phpdoc of UploadedFile (Tobion)
This PR was merged into the 2.3 branch.
Discussion
----------
[HttpFoundation] fix phpdoc of UploadedFile
| Q | A
| ------------- | ---
| Branch? | 2.3
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Commits
-------
cbcac56
[HttpFoundation] fix phpdoc of UploadedFile
This commit is contained in:
commit
131436525f
@ -50,7 +50,7 @@ class UploadedFile extends File
|
|||||||
/**
|
/**
|
||||||
* The file size provided by the uploader.
|
* The file size provided by the uploader.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var int|null
|
||||||
*/
|
*/
|
||||||
private $size;
|
private $size;
|
||||||
|
|
||||||
@ -77,9 +77,9 @@ class UploadedFile extends File
|
|||||||
*
|
*
|
||||||
* @param string $path The full temporary path to the file
|
* @param string $path The full temporary path to the file
|
||||||
* @param string $originalName The original file name
|
* @param string $originalName The original file name
|
||||||
* @param string $mimeType The type of the file as provided by PHP
|
* @param string|null $mimeType The type of the file as provided by PHP; null defaults to application/octet-stream
|
||||||
* @param int $size The file size
|
* @param int|null $size The file size
|
||||||
* @param int $error The error constant of the upload (one of PHP's UPLOAD_ERR_XXX constants)
|
* @param int|null $error The error constant of the upload (one of PHP's UPLOAD_ERR_XXX constants); null defaults to UPLOAD_ERR_OK
|
||||||
* @param bool $test Whether the test mode is active
|
* @param bool $test Whether the test mode is active
|
||||||
*
|
*
|
||||||
* @throws FileException If file_uploads is disabled
|
* @throws FileException If file_uploads is disabled
|
||||||
|
Reference in New Issue
Block a user