mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fix hash_file signature. See https://3v4l.org/E0BeU (#3920)
hash_file can return false if the file is not readable.
This commit is contained in:
parent
ab64ccab88
commit
593a9063bb
@ -4255,7 +4255,7 @@ return [
|
||||
'hash_algos' => ['list<string>'],
|
||||
'hash_copy' => ['HashContext', 'context'=>'HashContext|resource'],
|
||||
'hash_equals' => ['bool', 'known_string'=>'string', 'user_string'=>'string'],
|
||||
'hash_file' => ['string', 'algo'=>'string', 'filename'=>'string', 'raw_output='=>'bool'],
|
||||
'hash_file' => ['string|false', 'algo'=>'string', 'filename'=>'string', 'raw_output='=>'bool'],
|
||||
'hash_final' => ['string', 'context'=>'HashContext|resource', 'raw_output='=>'bool'],
|
||||
'hash_hkdf' => ['string|false', 'algo'=>'string', 'ikm'=>'string', 'length='=>'int', 'info='=>'string', 'salt='=>'string'],
|
||||
'hash_hmac' => ['string', 'algo'=>'string', 'data'=>'string', 'key'=>'string', 'raw_output='=>'bool'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user