mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Updating zlib function stubs to match php.net docs (#725)
This commit is contained in:
parent
bfa21e1108
commit
21c1f54af2
@ -1821,8 +1821,8 @@ return [
|
||||
'define' => ['bool', 'constant_name'=>'string', 'value'=>'mixed', 'case_insensitive='=>'bool'],
|
||||
'define_syslog_variables' => ['void'],
|
||||
'defined' => ['bool', 'name'=>'string'],
|
||||
'deflate_add' => ['string', 'context'=>'resource', 'data'=>'string', 'flush_mode='=>'int'],
|
||||
'deflate_init' => ['resource', 'encoding'=>'int', 'options='=>'array'],
|
||||
'deflate_add' => ['string|false', 'context'=>'resource', 'data'=>'string', 'flush_mode='=>'int'],
|
||||
'deflate_init' => ['resource|false', 'encoding'=>'int', 'options='=>'array'],
|
||||
'deg2rad' => ['float', 'number'=>'float'],
|
||||
'dgettext' => ['string', 'domain_name'=>'string', 'msgid'=>'string'],
|
||||
'dio_close' => ['void', 'fd'=>'resource'],
|
||||
@ -3526,24 +3526,24 @@ return [
|
||||
'gupnp_service_proxy_set_subscribed' => ['bool', 'proxy'=>'resource', 'subscribed'=>'bool'],
|
||||
'gupnp_service_thaw_notify' => ['bool', 'service'=>'resource'],
|
||||
'gzclose' => ['bool', 'zp'=>'resource'],
|
||||
'gzcompress' => ['string', 'data'=>'string', 'level='=>'int', 'encoding='=>'int'],
|
||||
'gzdecode' => ['string', 'data'=>'string', 'max_decoded_len='=>'int'],
|
||||
'gzdeflate' => ['string', 'data'=>'string', 'level='=>'int', 'encoding='=>'int'],
|
||||
'gzencode' => ['string', 'data'=>'string', 'level='=>'int', 'encoding='=>'int'],
|
||||
'gzcompress' => ['string|false', 'data'=>'string', 'level='=>'int', 'encoding='=>'int'],
|
||||
'gzdecode' => ['string|false', 'data'=>'string', 'length='=>'int'],
|
||||
'gzdeflate' => ['string|false', 'data'=>'string', 'level='=>'int', 'encoding='=>'int'],
|
||||
'gzencode' => ['string|false', 'data'=>'string', 'level='=>'int', 'encoding_mode='=>'int'],
|
||||
'gzeof' => ['int', 'zp'=>'resource'],
|
||||
'gzfile' => ['array', 'filename'=>'string', 'use_include_path='=>'int'],
|
||||
'gzgetc' => ['string', 'zp'=>'resource'],
|
||||
'gzgets' => ['string', 'zp'=>'resource', 'length='=>'int'],
|
||||
'gzgetss' => ['string', 'zp'=>'resource', 'length'=>'int', 'allowable_tags='=>'string'],
|
||||
'gzinflate' => ['string', 'data'=>'string', 'max_decoded_len='=>'int'],
|
||||
'gzopen' => ['resource', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'int'],
|
||||
'gzpassthru' => ['int', 'zp'=>'resource'],
|
||||
'gzgetc' => ['string|false', 'zp'=>'resource'],
|
||||
'gzgets' => ['string|false', 'zp'=>'resource', 'length='=>'int'],
|
||||
'gzgetss' => ['string|false', 'zp'=>'resource', 'length'=>'int', 'allowable_tags='=>'string'],
|
||||
'gzinflate' => ['string|false', 'data'=>'string', 'length='=>'int'],
|
||||
'gzopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'int'],
|
||||
'gzpassthru' => ['int|false', 'zp'=>'resource'],
|
||||
'gzputs' => ['int', 'zp'=>'resource', 'string'=>'string', 'length='=>'int'],
|
||||
'gzread' => ['string', 'zp'=>'resource', 'length'=>'int'],
|
||||
'gzrewind' => ['bool', 'zp'=>'resource'],
|
||||
'gzseek' => ['int', 'zp'=>'resource', 'offset'=>'int', 'whence='=>'int'],
|
||||
'gztell' => ['int', 'zp'=>'resource'],
|
||||
'gzuncompress' => ['string', 'data'=>'string', 'max_decoded_len='=>'int'],
|
||||
'gztell' => ['int|false', 'zp'=>'resource'],
|
||||
'gzuncompress' => ['string|false', 'data'=>'string', 'length='=>'int'],
|
||||
'gzwrite' => ['int', 'zp'=>'resource', 'string'=>'string', 'length='=>'int'],
|
||||
'HaruAnnotation::setBorderStyle' => ['bool', 'width'=>'float', 'dash_on'=>'int', 'dash_off'=>'int'],
|
||||
'HaruAnnotation::setHighlightMode' => ['bool', 'mode'=>'int'],
|
||||
@ -5087,10 +5087,10 @@ return [
|
||||
'inet_pton' => ['string', 'ip_address'=>'string'],
|
||||
'InfiniteIterator::__construct' => ['void', 'it'=>'iterator'],
|
||||
'InfiniteIterator::next' => ['void'],
|
||||
'inflate_add' => ['string', 'context'=>'resource', 'encoded_data'=>'string', 'flush_mode'=>'int'],
|
||||
'inflate_get_read_len' => ['int', 'resource'=>'resource'],
|
||||
'inflate_get_status' => ['int', 'resource'=>'resource'],
|
||||
'inflate_init' => ['resource', 'encoding'=>'int'],
|
||||
'inflate_add' => ['string|false', 'context'=>'resource', 'encoded_data'=>'string', 'flush_mode='=>'int'],
|
||||
'inflate_get_read_len' => ['int|false', 'resource'=>'resource'],
|
||||
'inflate_get_status' => ['int|false', 'resource'=>'resource'],
|
||||
'inflate_init' => ['resource|false', 'encoding'=>'int', 'options='=>'array'],
|
||||
'ingres_autocommit' => ['bool', 'link'=>'resource'],
|
||||
'ingres_autocommit_state' => ['bool', 'link'=>'resource'],
|
||||
'ingres_charset' => ['string', 'link'=>'resource'],
|
||||
@ -8931,7 +8931,7 @@ return [
|
||||
'read_exif_data' => ['array', 'filename'=>'string', 'sections_needed='=>'string', 'sub_arrays='=>'bool', 'read_thumbnail='=>'bool'],
|
||||
'readdir' => ['string', 'dir_handle='=>'resource'],
|
||||
'readfile' => ['int', 'filename'=>'string', 'use_include_path='=>'bool', 'context='=>'resource'],
|
||||
'readgzfile' => ['int', 'filename'=>'string', 'use_include_path='=>'int'],
|
||||
'readgzfile' => ['int|false', 'filename'=>'string', 'use_include_path='=>'int'],
|
||||
'readline' => ['string', 'prompt='=>'?string'],
|
||||
'readline_add_history' => ['bool', 'prompt'=>'string'],
|
||||
'readline_callback_handler_install' => ['bool', 'prompt'=>'string', 'callback'=>'callable'],
|
||||
|
Loading…
Reference in New Issue
Block a user