Skip to content

Commit 91b8efa

Browse files
thekidkjdev
authored andcommitted
Add ZstdContext class stub
1 parent 227ee4b commit 91b8efa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zstd.stub.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace {
44

5+
class ZstdContext {}
6+
57
function zstd_compress(string $data, int $level = 3): string|false {}
68

79
function zstd_uncompress(string $data): string|false {}
@@ -22,6 +24,8 @@ function zstd_uncompress_add(ZstdContext $context, string $data): string|false {
2224

2325
namespace Zstd {
2426

27+
class ZstdContext {}
28+
2529
function compress(string $data, int $level = 3): string|false {}
2630

2731
function uncompress(string $data): string|false {}

0 commit comments

Comments
 (0)