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

Added ReflectionProperty#getType() to psalm type stubs for PHP 7.4+ (#3093)

This commit is contained in:
Marco Pivetta 2020-04-08 15:04:49 +02:00 committed by GitHub
parent fe1cd8ecf4
commit 0d1e893151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -11446,6 +11446,7 @@ return [
'ReflectionProperty::getDocComment' => ['string|false'],
'ReflectionProperty::getModifiers' => ['int'],
'ReflectionProperty::getName' => ['string'],
'ReflectionProperty::getType' => ['?ReflectionType'],
'ReflectionProperty::getValue' => ['mixed', 'object='=>'object'],
'ReflectionProperty::isDefault' => ['bool'],
'ReflectionProperty::isPrivate' => ['bool'],

View File

@ -17,6 +17,7 @@ return [
'new' => [
'password_hash' => ['string|null', 'password'=>'string', 'algo'=>'int|string|null', 'options='=>'array'],
'password_needs_rehash' => ['bool', 'hash'=>'string', 'algo'=>'int|string|null', 'options='=>'array'],
'ReflectionProperty::getType' => ['?ReflectionType'],
],
'old' => [
'password_hash' => ['string|false', 'password'=>'string', 'algo'=>'int', 'options='=>'array'],