mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-24 07:57:10 +01:00
Fix #20576: Fix @var annotation for StringValidator::$length
This commit is contained in:
@@ -21,7 +21,7 @@ use yii\helpers\Json;
|
||||
class StringValidator extends Validator
|
||||
{
|
||||
/**
|
||||
* @var int|array specifies the length limit of the value to be validated.
|
||||
* @var int|array|null 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;
|
||||
|
||||
Reference in New Issue
Block a user