We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e489fd8 commit 8a520fdCopy full SHA for 8a520fd
Zend/tests/traits/constant_001.phpt
@@ -5,8 +5,8 @@ Trying to access a constant on Trait via a Class
5
6
trait Foo {
7
public const PUBLIC = 'public';
8
- public const PROTECTED = 'protected';
9
- public const PRIVATE = 'private';
+ protected const PROTECTED = 'protected';
+ private const PRIVATE = 'private';
10
11
public function f1(): void {
12
echo self::PUBLIC, ' via self', PHP_EOL;
0 commit comments