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

@ -125,14 +125,14 @@ use yii\validators\Validator;
*/
class DataFilter extends Model
{
const TYPE_INTEGER = 'integer';
const TYPE_FLOAT = 'float';
const TYPE_BOOLEAN = 'boolean';
const TYPE_STRING = 'string';
const TYPE_ARRAY = 'array';
const TYPE_DATETIME = 'datetime';
const TYPE_DATE = 'date';
const TYPE_TIME = 'time';
public const TYPE_INTEGER = 'integer';
public const TYPE_FLOAT = 'float';
public const TYPE_BOOLEAN = 'boolean';
public const TYPE_STRING = 'string';
public const TYPE_ARRAY = 'array';
public const TYPE_DATETIME = 'datetime';
public const TYPE_DATE = 'date';
public const TYPE_TIME = 'time';
/**
* @var string name of the attribute that handles filter value.

View File

@ -75,10 +75,10 @@ use yii\web\Request;
*/
class Pagination extends BaseObject implements Linkable
{
const LINK_NEXT = 'next';
const LINK_PREV = 'prev';
const LINK_FIRST = 'first';
const LINK_LAST = 'last';
public const LINK_NEXT = 'next';
public const LINK_PREV = 'prev';
public const LINK_FIRST = 'first';
public const LINK_LAST = 'last';
/**
* @var string name of the parameter storing the current page index.