1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

getShortName does not return a class-string

This commit is contained in:
Matt Brown 2020-10-19 22:35:09 -04:00 committed by Daniil Gentili
parent c77ec473f4
commit 3a95ab9885
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -11221,7 +11221,7 @@ return [
'ReflectionClass::getProperty' => ['ReflectionProperty', 'name'=>'string'], 'ReflectionClass::getProperty' => ['ReflectionProperty', 'name'=>'string'],
'ReflectionClass::getReflectionConstant' => ['ReflectionClassConstant|false', 'name'=>'string'], 'ReflectionClass::getReflectionConstant' => ['ReflectionClassConstant|false', 'name'=>'string'],
'ReflectionClass::getReflectionConstants' => ['list<ReflectionClassConstant>'], 'ReflectionClass::getReflectionConstants' => ['list<ReflectionClassConstant>'],
'ReflectionClass::getShortName' => ['class-string'], 'ReflectionClass::getShortName' => ['string'],
'ReflectionClass::getStartLine' => ['int|false'], 'ReflectionClass::getStartLine' => ['int|false'],
'ReflectionClass::getStaticProperties' => ['array<string, ReflectionProperty>'], 'ReflectionClass::getStaticProperties' => ['array<string, ReflectionProperty>'],
'ReflectionClass::getStaticPropertyValue' => ['mixed', 'name'=>'string', 'default='=>'mixed'], 'ReflectionClass::getStaticPropertyValue' => ['mixed', 'name'=>'string', 'default='=>'mixed'],