mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Provide stricter types for spl_autoload functions (#5885)
This commit is contained in:
parent
e457a7d5af
commit
a4871c1ef8
@ -13182,9 +13182,9 @@ return [
|
||||
'spl_autoload' => ['void', 'class'=>'string', 'file_extensions='=>'string'],
|
||||
'spl_autoload_call' => ['void', 'class'=>'string'],
|
||||
'spl_autoload_extensions' => ['string', 'file_extensions='=>'string'],
|
||||
'spl_autoload_functions' => ['false|array'],
|
||||
'spl_autoload_functions' => ['false|list<callable(string):void>'],
|
||||
'spl_autoload_register' => ['bool', 'callback='=>'callable(string):void', 'throw='=>'bool', 'prepend='=>'bool'],
|
||||
'spl_autoload_unregister' => ['bool', 'callback'=>'mixed'],
|
||||
'spl_autoload_unregister' => ['bool', 'callback'=>'callable(string):void'],
|
||||
'spl_classes' => ['array'],
|
||||
'spl_object_hash' => ['string', 'object'=>'object'],
|
||||
'spl_object_id' => ['int', 'object'=>'object'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user