Skip to content

Commit 8b29105

Browse files
committed
Update stubs
1 parent 97d994e commit 8b29105

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

stubs/ext/zlib/deflate_init.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<?php
22

3+
#[\Until('8.3')]
34
function deflate_init(int $encoding, array $options = []): \DeflateContext|false
45
{
6+
}
7+
#[\Since('8.3')]
8+
function deflate_init(int $encoding, array|object $options = []): \DeflateContext|false
9+
{
510
}

stubs/ext/zlib/inflate_init.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<?php
22

3+
#[\Until('8.3')]
34
function inflate_init(int $encoding, array $options = []): \InflateContext|false
45
{
6+
}
7+
#[\Since('8.3')]
8+
function inflate_init(int $encoding, array|object $options = []): \InflateContext|false
9+
{
510
}

0 commit comments

Comments
 (0)