mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-27 20:06:19 +08:00
Add visibility for all class elements (#20557)
This commit is contained in:
@ -41,19 +41,19 @@ class DateValidator extends Validator
|
||||
* @since 2.0.8
|
||||
* @see type
|
||||
*/
|
||||
const TYPE_DATE = 'date';
|
||||
public const TYPE_DATE = 'date';
|
||||
/**
|
||||
* Constant for specifying the validation [[type]] as a datetime value, used for validation with intl short format.
|
||||
* @since 2.0.8
|
||||
* @see type
|
||||
*/
|
||||
const TYPE_DATETIME = 'datetime';
|
||||
public const TYPE_DATETIME = 'datetime';
|
||||
/**
|
||||
* Constant for specifying the validation [[type]] as a time value, used for validation with intl short format.
|
||||
* @since 2.0.8
|
||||
* @see type
|
||||
*/
|
||||
const TYPE_TIME = 'time';
|
||||
public const TYPE_TIME = 'time';
|
||||
|
||||
/**
|
||||
* @var string the type of the validator. Indicates, whether a date, time or datetime value should be validated.
|
||||
|
||||
Reference in New Issue
Block a user