1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Fix invalid Reflection methods

This commit is contained in:
Matthew Brown 2018-01-05 00:26:51 -05:00
parent 6f5a214365
commit 51edeead84

View File

@ -7777,11 +7777,12 @@ return [
'ReflectionProperty::isProtected' => ['bool'],
'ReflectionProperty::isPublic' => ['bool'],
'ReflectionProperty::isStatic' => ['bool'],
'ReflectionProperty::setAccessible' => ['int', 'visible'=>'bool'],
'ReflectionProperty::setAccessible' => ['void', 'visible'=>'bool'],
'ReflectionProperty::setValue\'1' => ['void', 'value'=>''],
'ReflectionProperty::setValue' => ['void', 'object'=>'object', 'value'=>''],
'ReflectionProperty::__toString' => ['string'],
'ReflectionType::allowsNull' => ['bool'],
'ReflectionType::getName' => ['string'],
'ReflectionType::isBuiltin' => ['bool'],
'ReflectionType::__toString' => ['string'],
'ReflectionZendExtension::__clone' => ['void'],