From 17106cce57bf4164762d3920aab416fc82fc83f7 Mon Sep 17 00:00:00 2001 From: "a.h.s. boy" Date: Wed, 6 Jan 2021 14:45:05 -0500 Subject: [PATCH] Updated return values for zip_open Added int and false as possible return values --- resources/functionMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/functionMap.php b/resources/functionMap.php index 838fdf7cb..7029349a6 100644 --- a/resources/functionMap.php +++ b/resources/functionMap.php @@ -13721,7 +13721,7 @@ 'zip_entry_name' => ['string|false', '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|false|int', 'filename'=>'string'], 'zip_read' => ['resource', 'zip'=>'resource'], 'ZipArchive::addEmptyDir' => ['bool', 'dirname'=>'string'], 'ZipArchive::addFile' => ['bool', 'filepath'=>'string', 'entryname='=>'string', 'start='=>'int', 'length='=>'int'],