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

Make get_called_class and get_class return class-string pseudotype

Fixes #584
This commit is contained in:
Matthew Brown 2018-03-17 22:10:47 -04:00
parent 5728ef4858
commit 5575ead4b2

View File

@ -2470,10 +2470,10 @@ return [
'geoip_time_zone_by_country_and_region' => ['string|false', 'country_code'=>'string', 'region_code='=>'string'],
'getallheaders' => ['array'],
'get_browser' => ['mixed', 'browser_name='=>'string', 'return_array='=>'bool'],
'get_called_class' => ['string'],
'get_called_class' => ['class-string'],
'get_cfg_var' => ['mixed', 'option_name'=>'string'],
'get_class_methods' => ['array', 'class'=>'mixed'],
'get_class' => ['string', 'object='=>'object'],
'get_class' => ['class-string', 'object='=>'object'],
'get_class_vars' => ['array', 'class_name'=>'string'],
'get_current_user' => ['string'],
'getcwd' => ['string|false'],