Skip to content

Commit

Permalink
docs: update brotli.stub.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kjdev committed Jan 19, 2024
1 parent 43bb378 commit 6b43349
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions brotli.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function brotli_compress_init(int $quality = BROTLI_COMPRESS_LEVEL_DEFAULT, int
/**
* @param resource $context
*/
function brotli_compress_add($context, string $data, int $mode = BROTLI_PROCESS): string|false {}
function brotli_compress_add($context, string $data, int $mode = BROTLI_FLUSH): string|false {}

/**
* @return resource|false
Expand All @@ -24,7 +24,7 @@ function brotli_uncompress_init() {}
/**
* @param resource $context
*/
function brotli_uncompress_add($context, string $data, int $mode = BROTLI_PROCESS): string|false {}
function brotli_uncompress_add($context, string $data, int $mode = BROTLI_FLUSH): string|false {}
}

namespace Brotli {
Expand All @@ -41,7 +41,7 @@ function compress_init(int $quality = \BROTLI_COMPRESS_LEVEL_DEFAULT, int $mode
/**
* @param resource $context
*/
function compress_add($context, string $data, int $mode = \BROTLI_PROCESS): string|false {}
function compress_add($context, string $data, int $mode = \BROTLI_FLUSH): string|false {}

/**
* @return resource|false
Expand All @@ -51,7 +51,7 @@ function uncompress_init() {}
/**
* @param resource $context
*/
function uncompress_add($context, string $data, int $mode = \BROTLI_PROCESS): string|false {}
function uncompress_add($context, string $data, int $mode = \BROTLI_FLUSH): string|false {}
}

#if defined(PHP_WIN32) || defined(HAVE_DNS_SEARCH_FUNC)
Expand Down

0 comments on commit 6b43349

Please sign in to comment.