From 51edeead84b09329d294bf971412b335e258fa0b Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Fri, 5 Jan 2018 00:26:51 -0500 Subject: [PATCH] Fix invalid Reflection methods --- src/Psalm/CallMap.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Psalm/CallMap.php b/src/Psalm/CallMap.php index d76dc1b6a..36aaff604 100644 --- a/src/Psalm/CallMap.php +++ b/src/Psalm/CallMap.php @@ -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'],