mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
Add visibility for all class elements (#20557)
This commit is contained in:
@ -207,7 +207,7 @@ class User extends ActiveRecord
|
||||
|
||||
interface SomeInterface
|
||||
{
|
||||
const EVENT_SUPER_EVENT = 'superEvent';
|
||||
public const EVENT_SUPER_EVENT = 'superEvent';
|
||||
}
|
||||
|
||||
class SomeClass extends Component implements SomeInterface
|
||||
|
||||
@ -19,7 +19,7 @@ use yiiunit\TestCase;
|
||||
*/
|
||||
class SecurityTest extends TestCase
|
||||
{
|
||||
const CRYPT_VECTORS = 'old';
|
||||
public const CRYPT_VECTORS = 'old';
|
||||
|
||||
/**
|
||||
* @var ExposedSecurity
|
||||
|
||||
Reference in New Issue
Block a user