mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Merge pull request #6591 from vaceletm/fix-6588-reflection
ReflectionClass::getReflectionConstants has a filter parameter
This commit is contained in:
commit
e04673259c
@ -11314,7 +11314,7 @@ return [
|
||||
'ReflectionClass::getProperties' => ['list<ReflectionProperty>', 'filter='=>'int'],
|
||||
'ReflectionClass::getProperty' => ['ReflectionProperty', 'name'=>'string'],
|
||||
'ReflectionClass::getReflectionConstant' => ['ReflectionClassConstant|false', 'name'=>'string'],
|
||||
'ReflectionClass::getReflectionConstants' => ['list<ReflectionClassConstant>'],
|
||||
'ReflectionClass::getReflectionConstants' => ['list<ReflectionClassConstant>', 'filter='=>'?int'],
|
||||
'ReflectionClass::getShortName' => ['string'],
|
||||
'ReflectionClass::getStartLine' => ['int|false'],
|
||||
'ReflectionClass::getStaticProperties' => ['array<string, ReflectionProperty>'],
|
||||
|
@ -97,6 +97,10 @@ return [
|
||||
'old' => ['array<string,mixed>'],
|
||||
'new' => ['array<string,mixed>', 'filter='=>'?int'],
|
||||
],
|
||||
'ReflectionClass::getReflectionConstants' => [
|
||||
'old' => ['list<ReflectionClassConstant>'],
|
||||
'new' => ['list<ReflectionClassConstant>', 'filter='=>'?int'],
|
||||
],
|
||||
'XMLWriter::flush' => [
|
||||
'old' => ['string|int|false', 'empty='=>'bool'],
|
||||
'new' => ['string|int', 'empty='=>'bool'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user