mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Merge pull request #8928 from fluffycondor/md5-return
Make md5 return type more precise
This commit is contained in:
commit
cbf37f7e35
@ -7322,8 +7322,8 @@ return [
|
||||
'mcrypt_module_open' => ['resource|false', 'cipher'=>'string', 'cipher_directory'=>'string', 'mode'=>'string', 'mode_directory'=>'string'],
|
||||
'mcrypt_module_self_test' => ['bool', 'algorithm'=>'string', 'lib_dir='=>'string'],
|
||||
'mcrypt_ofb' => ['string', 'cipher'=>'int|string', 'key'=>'string', 'data'=>'string', 'mode'=>'int', 'iv='=>'string'],
|
||||
'md5' => ['string', 'string'=>'string', 'binary='=>'bool'],
|
||||
'md5_file' => ['string|false', 'filename'=>'string', 'binary='=>'bool'],
|
||||
'md5' => ['non-falsy-string', 'string'=>'string', 'binary='=>'bool'],
|
||||
'md5_file' => ['non-falsy-string|false', 'filename'=>'string', 'binary='=>'bool'],
|
||||
'mdecrypt_generic' => ['string', 'td'=>'resource', 'data'=>'string'],
|
||||
'Memcache::add' => ['bool', 'key'=>'string', 'var'=>'mixed', 'flag='=>'int', 'expire='=>'int'],
|
||||
'Memcache::addServer' => ['bool', 'host'=>'string', 'port='=>'int', 'persistent='=>'bool', 'weight='=>'int', 'timeout='=>'int', 'retry_interval='=>'int', 'status='=>'bool', 'failure_callback='=>'callable', 'timeoutms='=>'int'],
|
||||
|
@ -13025,8 +13025,8 @@ return [
|
||||
'mcrypt_module_open' => ['resource|false', 'cipher'=>'string', 'cipher_directory'=>'string', 'mode'=>'string', 'mode_directory'=>'string'],
|
||||
'mcrypt_module_self_test' => ['bool', 'algorithm'=>'string', 'lib_dir='=>'string'],
|
||||
'mcrypt_ofb' => ['string', 'cipher'=>'int|string', 'key'=>'string', 'data'=>'string', 'mode'=>'int', 'iv='=>'string'],
|
||||
'md5' => ['string', 'string'=>'string', 'binary='=>'bool'],
|
||||
'md5_file' => ['string|false', 'filename'=>'string', 'binary='=>'bool'],
|
||||
'md5' => ['non-falsy-string', 'string'=>'string', 'binary='=>'bool'],
|
||||
'md5_file' => ['non-falsy-string|false', 'filename'=>'string', 'binary='=>'bool'],
|
||||
'mdecrypt_generic' => ['string', 'td'=>'resource', 'data'=>'string'],
|
||||
'memcache_add' => ['bool', 'memcache_obj'=>'Memcache', 'key'=>'string', 'var'=>'mixed', 'flag='=>'int', 'expire='=>'int'],
|
||||
'memcache_add_server' => ['bool', 'memcache_obj'=>'Memcache', 'host'=>'string', 'port='=>'int', 'persistent='=>'bool', 'weight='=>'int', 'timeout='=>'int', 'retry_interval='=>'int', 'status='=>'bool', 'failure_callback='=>'callable', 'timeoutms='=>'int'],
|
||||
|
Loading…
Reference in New Issue
Block a user