1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 13:21:22 +01:00

php 8.0 introduced visibility constants on ReflectionClassConstant

Spotted in issue #6588
This commit is contained in:
Manuel VACELET 2021-10-05 16:03:19 +02:00
parent e04673259c
commit 40cdb2f912

View File

@ -48,6 +48,13 @@ class ReflectionAttribute
}
}
class ReflectionClassConstant
{
public const IS_PUBLIC = 1;
public const IS_PROTECTED = 2;
public const IS_PRIVATE = 4;
}
class Attribute
{
public const TARGET_CLASS = 1;