mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Fix Reflector::export return types in callmap
This commit is contained in:
parent
861d907845
commit
b771658821
@ -7588,7 +7588,7 @@ return [
|
||||
'Redis::type' => ['int', 'key'=>'string'],
|
||||
'ReflectionClass::__clone' => ['ReflectionClass'],
|
||||
'ReflectionClass::__construct' => ['void', 'argument'=>''],
|
||||
'ReflectionClass::export' => ['string', 'argument'=>'', 'return='=>'bool'],
|
||||
'ReflectionClass::export' => ['?string', 'argument'=>'', 'return='=>'bool'],
|
||||
'ReflectionClass::getConstant' => ['', 'name'=>'string'],
|
||||
'ReflectionClass::getConstants' => ['array'],
|
||||
'ReflectionClass::getConstructor' => ['ReflectionMethod'],
|
||||
@ -7637,10 +7637,10 @@ return [
|
||||
'ReflectionClass::newInstanceWithoutConstructor' => ['object'],
|
||||
'ReflectionClass::setStaticPropertyValue' => ['void', 'name'=>'string', 'value'=>''],
|
||||
'ReflectionClass::__toString' => ['string'],
|
||||
'Reflection::export' => ['string', 'r'=>'reflector', 'return='=>'bool'],
|
||||
'Reflection::export' => ['?string', 'r'=>'reflector', 'return='=>'bool'],
|
||||
'ReflectionExtension::__clone' => ['ReflectionExtension'],
|
||||
'ReflectionExtension::__construct' => ['void', 'name'=>'string'],
|
||||
'ReflectionExtension::export' => ['string', 'name'=>'string', 'return='=>'bool'],
|
||||
'ReflectionExtension::export' => ['?string', 'name'=>'string', 'return='=>'bool'],
|
||||
'ReflectionExtension::getClasses' => ['array'],
|
||||
'ReflectionExtension::getClassNames' => ['array'],
|
||||
'ReflectionExtension::getConstants' => ['array'],
|
||||
@ -7681,7 +7681,7 @@ return [
|
||||
'ReflectionFunctionAbstract::returnsReference' => ['bool'],
|
||||
'ReflectionFunctionAbstract::__toString' => [''],
|
||||
'ReflectionFunction::__construct' => ['void', 'name'=>'string|Closure'],
|
||||
'ReflectionFunction::export' => ['string', 'name'=>'string', 'return='=>'bool'],
|
||||
'ReflectionFunction::export' => ['?string', 'name'=>'string', 'return='=>'bool'],
|
||||
'ReflectionFunction::getClosure' => ['?Closure'],
|
||||
'ReflectionFunction::getClosureScopeClass' => ['ReflectionClass'],
|
||||
'ReflectionFunction::getClosureThis' => ['bool'],
|
||||
@ -7721,7 +7721,7 @@ return [
|
||||
'Reflection::getModifierNames' => ['array', 'modifiers'=>'int'],
|
||||
'ReflectionMethod::__construct' => ['void', 'class'=>'string|object', 'name'=>'string'],
|
||||
'ReflectionMethod::__construct\'1' => ['ReflectionMethod', 'class_method'=>'string'],
|
||||
'ReflectionMethod::export' => ['string', 'class'=>'', 'name'=>'string', 'return='=>'bool'],
|
||||
'ReflectionMethod::export' => ['?string', 'class'=>'', 'name'=>'string', 'return='=>'bool'],
|
||||
'ReflectionMethod::getClosure' => ['?Closure', 'object'=>'?object'],
|
||||
'ReflectionMethod::getDeclaringClass' => ['ReflectionClass'],
|
||||
'ReflectionMethod::getModifiers' => ['int'],
|
||||
@ -7739,12 +7739,12 @@ return [
|
||||
'ReflectionMethod::setAccessible' => ['void', 'visible'=>'bool'],
|
||||
'ReflectionMethod::__toString' => ['string'],
|
||||
'ReflectionObject::__construct' => ['void', 'argument'=>''],
|
||||
'ReflectionObject::export' => ['', 'argument'=>'string|object', 'return='=>'bool'],
|
||||
'ReflectionObject::export' => ['?string', 'argument'=>'string|object', 'return='=>'bool'],
|
||||
'ReflectionParameter::allowsNull' => ['bool'],
|
||||
'ReflectionParameter::canBePassedByValue' => ['bool'],
|
||||
'ReflectionParameter::__clone' => [''],
|
||||
'ReflectionParameter::__construct' => ['void', 'function'=>'', 'parameter'=>''],
|
||||
'ReflectionParameter::export' => ['', 'function'=>'', 'parameter'=>'', 'return='=>'bool'],
|
||||
'ReflectionParameter::export' => ['?string', 'function'=>'', 'parameter'=>'', 'return='=>'bool'],
|
||||
'ReflectionParameter::getClass' => ['ReflectionClass|null'],
|
||||
'ReflectionParameter::getDeclaringClass' => ['ReflectionClass|null'],
|
||||
'ReflectionParameter::getDeclaringFunction' => ['ReflectionFunctionAbstract'],
|
||||
@ -7764,7 +7764,7 @@ return [
|
||||
'ReflectionParameter::__toString' => ['string'],
|
||||
'ReflectionProperty::__clone' => ['ReflectionProperty'],
|
||||
'ReflectionProperty::__construct' => ['void', 'class'=>'', 'name'=>'string'],
|
||||
'ReflectionProperty::export' => ['string', 'class'=>'', 'name'=>'string', 'return='=>'bool'],
|
||||
'ReflectionProperty::export' => ['?string', 'class'=>'', 'name'=>'string', 'return='=>'bool'],
|
||||
'ReflectionProperty::getDeclaringClass' => ['ReflectionClass'],
|
||||
'ReflectionProperty::getDocComment' => ['string|false'],
|
||||
'ReflectionProperty::getModifiers' => ['int'],
|
||||
@ -7785,14 +7785,14 @@ return [
|
||||
'ReflectionType::__toString' => ['string'],
|
||||
'ReflectionZendExtension::__clone' => ['void'],
|
||||
'ReflectionZendExtension::__construct' => ['void', 'name'=>'string'],
|
||||
'ReflectionZendExtension::export' => ['string', 'name'=>'string', 'return]'=>'bool'],
|
||||
'ReflectionZendExtension::export' => ['?string', 'name'=>'string', 'return'=>'bool'],
|
||||
'ReflectionZendExtension::getAuthor' => ['string'],
|
||||
'ReflectionZendExtension::getCopyright' => ['string'],
|
||||
'ReflectionZendExtension::getName' => ['string'],
|
||||
'ReflectionZendExtension::getURL' => ['string'],
|
||||
'ReflectionZendExtension::getVersion' => ['string'],
|
||||
'ReflectionZendExtension::__toString' => ['string'],
|
||||
'Reflector::export' => ['string'],
|
||||
'Reflector::export' => ['?string'],
|
||||
'Reflector::__toString' => ['string'],
|
||||
'RegexIterator::accept' => ['bool'],
|
||||
'RegexIterator::__construct' => ['void', 'it'=>'iterator', 'regex'=>'string', 'mode='=>'int', 'flags='=>'int', 'preg_flags='=>'int'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user