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:
parent
fe1cd8ecf4
commit
0d1e893151
@ -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'],
|
||||
|
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user