mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-29 01:17:13 +08:00
Add visibility for all class elements (#20557)
This commit is contained in:
@ -23,8 +23,8 @@ use yii\base\InvalidConfigException;
|
||||
*/
|
||||
class JsonExpression implements ExpressionInterface, \JsonSerializable
|
||||
{
|
||||
const TYPE_JSON = 'json';
|
||||
const TYPE_JSONB = 'jsonb';
|
||||
public const TYPE_JSON = 'json';
|
||||
public const TYPE_JSONB = 'jsonb';
|
||||
|
||||
/**
|
||||
* @var mixed the value to be encoded to JSON.
|
||||
|
||||
Reference in New Issue
Block a user