summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.stub.php
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-09-29 13:58:45 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-09-29 14:28:39 +0200
commit3c16606d462c3dde92438111a6c8a3d311a1254d (patch)
tree42ba2a3695b7e653c3d18d81700fa1115cfbedff /ext/zip/php_zip.stub.php
parent6902d14b8186dbad3d6a0d192770e7c991114758 (diff)
downloadphp-git-3c16606d462c3dde92438111a6c8a3d311a1254d.tar.gz
Elevate warning to ValueError for invalid ZipArchive object
Diffstat (limited to 'ext/zip/php_zip.stub.php')
-rw-r--r--ext/zip/php_zip.stub.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php
index e86abd6bed..988aeef1ff 100644
--- a/ext/zip/php_zip.stub.php
+++ b/ext/zip/php_zip.stub.php
@@ -66,10 +66,10 @@ class ZipArchive
/** @return bool */
public function close() {}
- /** @return int|false */
+ /** @return int */
public function count() {}
- /** @return string|false */
+ /** @return string */
public function getStatusString() {}
/** @return bool */