Skip to content

Commit

Permalink
Update stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot committed Feb 12, 2025
1 parent 97d994e commit 8b29105
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions stubs/ext/zlib/deflate_init.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

#[\Until('8.3')]
function deflate_init(int $encoding, array $options = []): \DeflateContext|false
{
}
#[\Since('8.3')]
function deflate_init(int $encoding, array|object $options = []): \DeflateContext|false
{
}
5 changes: 5 additions & 0 deletions stubs/ext/zlib/inflate_init.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

#[\Until('8.3')]
function inflate_init(int $encoding, array $options = []): \InflateContext|false
{
}
#[\Since('8.3')]
function inflate_init(int $encoding, array|object $options = []): \InflateContext|false
{
}

0 comments on commit 8b29105

Please sign in to comment.