Update phpDoc maxSize of FileValidator

This commit is contained in:
githubjeka
2016-02-15 14:51:39 +03:00
parent 1d43bb5421
commit e23f47f49a

View File

@@ -55,9 +55,10 @@ class FileValidator extends Validator
/** /**
* @var integer the maximum number of bytes required for the uploaded file. * @var integer the maximum number of bytes required for the uploaded file.
* Defaults to null, meaning no limit. * Defaults to null, meaning no limit.
* Note, the size limit is also affected by `upload_max_filesize` INI setting * Note, the size limit is also affected by `upload_max_filesize` and `post_max_size` INI setting
* and the 'MAX_FILE_SIZE' hidden field value. * and the 'MAX_FILE_SIZE' hidden field value.
* @see http://php.net/manual/en/ini.core.php#ini.upload-max-filesize * @see http://php.net/manual/en/ini.core.php#ini.upload-max-filesize
* @see http://php.net/post-max-size
* @see tooBig for the customized message for a file that is too big. * @see tooBig for the customized message for a file that is too big.
*/ */
public $maxSize; public $maxSize;