summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/zlib.stub.php')
-rw-r--r--ext/zlib/zlib.stub.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/zlib.stub.php b/ext/zlib/zlib.stub.php
index cb7e978249..c047a53541 100644
--- a/ext/zlib/zlib.stub.php
+++ b/ext/zlib/zlib.stub.php
@@ -99,9 +99,9 @@ function gzread($stream, int $length): string|false {}
/**
* @param resource $stream
- * @implementation-alias fgets
+ * @alias fgets
*/
-function gzgets($stream, int $length = 1024): string|false {}
+function gzgets($stream, ?int $length = null): string|false {}
function deflate_init(int $encoding, array $options = []): DeflateContext|false {}