mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-06 15:28:58 +01:00
Fixes #12055: Changed boolean to bool and integer to int in phpdoc
This commit is contained in:
committed by
Alexander Makarov
parent
940f7c7cd4
commit
4aa935e69e
@@ -20,7 +20,7 @@ use Yii;
|
||||
class StringValidator extends Validator
|
||||
{
|
||||
/**
|
||||
* @var integer|array specifies the length limit of the value to be validated.
|
||||
* @var int|array specifies the length limit of the value to be validated.
|
||||
* This can be specified in one of the following forms:
|
||||
*
|
||||
* - an integer: the exact length that the value should be of;
|
||||
@@ -34,12 +34,12 @@ class StringValidator extends Validator
|
||||
*/
|
||||
public $length;
|
||||
/**
|
||||
* @var integer maximum length. If not set, it means no maximum length limit.
|
||||
* @var int maximum length. If not set, it means no maximum length limit.
|
||||
* @see tooLong for the customized message for a too long string.
|
||||
*/
|
||||
public $max;
|
||||
/**
|
||||
* @var integer minimum length. If not set, it means no minimum length limit.
|
||||
* @var int minimum length. If not set, it means no minimum length limit.
|
||||
* @see tooShort for the customized message for a too short string.
|
||||
*/
|
||||
public $min;
|
||||
|
||||
Reference in New Issue
Block a user