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:
parent
e04673259c
commit
40cdb2f912
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user