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 2843053 commit 1ce5790Copy full SHA for 1ce5790
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