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

@ -17,8 +17,8 @@ use yii\base\BaseObject;
*/
class Item extends BaseObject
{
const TYPE_ROLE = 1;
const TYPE_PERMISSION = 2;
public const TYPE_ROLE = 1;
public const TYPE_PERMISSION = 2;
/**
* @var int the type of the item. This should be either [[TYPE_ROLE]] or [[TYPE_PERMISSION]].