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

ZipArchive::open() does not return resource (#3067)

This commit is contained in:
Mikko Pesari 2020-04-05 21:28:01 +03:00 committed by GitHub
parent c8e7e43bb0
commit 166b4d04a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16542,7 +16542,7 @@ return [
'ZipArchive::getStatusString' => ['string|false'],
'ZipArchive::getStream' => ['resource|false', 'entryname'=>'string'],
'ZipArchive::locateName' => ['int|false', 'filename'=>'string', 'flags='=>'int'],
'ZipArchive::open' => ['resource|int|bool', 'source'=>'string', 'flags='=>'int'],
'ZipArchive::open' => ['int|bool', 'source'=>'string', 'flags='=>'int'],
'ZipArchive::renameIndex' => ['bool', 'index'=>'int', 'new_name'=>'string'],
'ZipArchive::renameName' => ['bool', 'name'=>'string', 'new_name'=>'string'],
'ZipArchive::setArchiveComment' => ['bool', 'comment'=>'string'],