diff --git a/src/Psalm/Internal/CallMap.php b/src/Psalm/Internal/CallMap.php index 1ac48bcb7..05f3e1b9e 100644 --- a/src/Psalm/Internal/CallMap.php +++ b/src/Psalm/Internal/CallMap.php @@ -16518,7 +16518,7 @@ return [ 'zip_entry_name' => ['string', 'zip_entry'=>'resource'], 'zip_entry_open' => ['bool', 'zip_dp'=>'resource', 'zip_entry'=>'resource', 'mode='=>'string'], 'zip_entry_read' => ['string|false', 'zip_entry'=>'resource', 'len='=>'int'], -'zip_open' => ['resource', 'filename'=>'string'], +'zip_open' => ['resource|int|false', 'filename'=>'string'], 'zip_read' => ['resource', 'zip'=>'resource'], 'ZipArchive::addEmptyDir' => ['bool', 'dirname'=>'string'], 'ZipArchive::addFile' => ['bool', 'filepath'=>'string', 'entryname='=>'string', 'start='=>'int', 'length='=>'int'], @@ -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' => ['mixed', 'source'=>'string', 'flags='=>'int'], +'ZipArchive::open' => ['resource|int|false', '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'],