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

@ -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

View File

@ -19,7 +19,7 @@ use yiiunit\TestCase;
*/
class SecurityTest extends TestCase
{
const CRYPT_VECTORS = 'old';
public const CRYPT_VECTORS = 'old';
/**
* @var ExposedSecurity