Add visibility for all class elements (#20557)

This commit is contained in:
Maksim Spirkov
2025-10-02 02:27:23 +04:00
committed by GitHub
parent 813dfc07cc
commit c82da8dc82
73 changed files with 328 additions and 331 deletions

View File

@ -39,13 +39,13 @@ class CompareValidator extends Validator
* @since 2.0.11
* @see type
*/
const TYPE_STRING = 'string';
public const TYPE_STRING = 'string';
/**
* Constant for specifying the comparison [[type]] by numeric values.
* @since 2.0.11
* @see type
*/
const TYPE_NUMBER = 'number';
public const TYPE_NUMBER = 'number';
/**
* @var string the name of the attribute to be compared with. When both this property