1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Fix #1950 - improve class_parents return

This commit is contained in:
Matthew Brown 2019-07-17 08:52:05 -04:00
parent eb1cd2ed46
commit 210a0fc98d

View File

@ -1026,7 +1026,7 @@ return [
'class_alias' => ['bool', 'user_class_name'=>'string', 'alias_name'=>'string', 'autoload='=>'bool'],
'class_exists' => ['bool', 'classname'=>'string', 'autoload='=>'bool'],
'class_implements' => ['array<string,string>|false', 'what'=>'object|string', 'autoload='=>'bool'],
'class_parents' => ['array<string,string>|false', 'instance'=>'object|string', 'autoload='=>'bool'],
'class_parents' => ['array<string, class-string>|false', 'instance'=>'object|string', 'autoload='=>'bool'],
'class_uses' => ['array<string,string>|false', 'what'=>'object|string', 'autoload='=>'bool'],
'classkit_import' => ['array', 'filename'=>'string'],
'classkit_method_add' => ['bool', 'classname'=>'string', 'methodname'=>'string', 'args'=>'string', 'code'=>'string', 'flags='=>'int'],