diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2021-01-02 12:18:46 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-01-03 16:12:10 +0100 |
commit | e470f9b389313f2c966a87445c8e776c1897f532 (patch) | |
tree | abc8a9463f75d90c8cae82f66153d55a68a841e0 /ext/zip/php_zip.stub.php | |
parent | cae0bcbab53aa1011e1e54b368a1394b9a2066b7 (diff) | |
download | php-git-e470f9b389313f2c966a87445c8e776c1897f532.tar.gz |
ZipArchive methods do not return NULL
Closes GH-6563.
Diffstat (limited to 'ext/zip/php_zip.stub.php')
-rw-r--r-- | ext/zip/php_zip.stub.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php index 9a276a05df..ddda62d6b0 100644 --- a/ext/zip/php_zip.stub.php +++ b/ext/zip/php_zip.stub.php @@ -111,17 +111,17 @@ class ZipArchive /** @return string|false */ public function getArchiveComment(int $flags = 0) {} - /** @return bool|null */ + /** @return bool */ public function setCommentIndex(int $index, string $comment) {} - /** @return bool|null */ + /** @return bool */ public function setCommentName(string $name, string $comment) {} #ifdef HAVE_SET_MTIME - /** @return bool|null */ + /** @return bool */ public function setMtimeIndex(int $index, int $timestamp, int $flags = 0) {} - /** @return bool|null */ + /** @return bool */ public function setMtimeName(string $name, int $timestamp, int $flags = 0) {} #endif |