diff --git a/system/HTTP/Files/UploadedFile.php b/system/HTTP/Files/UploadedFile.php index 97c228df8f7c..bf594acddc38 100644 --- a/system/HTTP/Files/UploadedFile.php +++ b/system/HTTP/Files/UploadedFile.php @@ -57,7 +57,7 @@ class UploadedFile extends File implements UploadedFileInterface /** * The error constant of the upload - * (one of PHP's UPLOADERRXXX constants) + * (one of PHP's UPLOAD_ERR_XXX constants) * * @var int|null */ @@ -77,7 +77,7 @@ class UploadedFile extends File implements UploadedFileInterface * @param string $originalName The client-provided filename. * @param string|null $mimeType The type of file as provided by PHP * @param int|null $size The size of the file, in bytes - * @param int|null $error The error constant of the upload (one of PHP's UPLOADERRXXX constants) + * @param int|null $error The error constant of the upload (one of PHP's UPLOAD_ERR_XXX constants) * @param string|null $clientPath The webkit relative path of the uploaded file. */ public function __construct(string $path, string $originalName, ?string $mimeType = null, ?int $size = null, ?int $error = null, ?string $clientPath = null) diff --git a/system/HTTP/Files/UploadedFileInterface.php b/system/HTTP/Files/UploadedFileInterface.php index 6e849d04a76b..edc88e500573 100644 --- a/system/HTTP/Files/UploadedFileInterface.php +++ b/system/HTTP/Files/UploadedFileInterface.php @@ -32,7 +32,7 @@ interface UploadedFileInterface * @param string $originalName The client-provided filename. * @param string|null $mimeType The type of file as provided by PHP * @param int|null $size The size of the file, in bytes - * @param int|null $error The error constant of the upload (one of PHP's UPLOADERRXXX constants) + * @param int|null $error The error constant of the upload (one of PHP's UPLOAD_ERR_XXX constants) * @param string|null $clientPath The webkit relative path of the uploaded file. */ public function __construct(string $path, string $originalName, ?string $mimeType = null, ?int $size = null, ?int $error = null, ?string $clientPath = null);