diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-05 16:53:13 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-06 12:12:43 +0200 |
commit | 79484b4f8a9f57cc08c355897e17d406ec94bdb9 (patch) | |
tree | a4405a03a9c54145001902fdf92bc00beec6593b /ext/bz2 | |
parent | f21b160984710bc1d9beb4e26e02be4ca77cbd6f (diff) | |
download | php-git-79484b4f8a9f57cc08c355897e17d406ec94bdb9.tar.gz |
Update ext/sockets parameter names
Also change $max_length to $length in a number of filesystem APIs,
where our usage was inconsistent.
Closes GH-6276.
Diffstat (limited to 'ext/bz2')
-rw-r--r-- | ext/bz2/bz2.stub.php | 2 | ||||
-rw-r--r-- | ext/bz2/bz2_arginfo.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/bz2/bz2.stub.php b/ext/bz2/bz2.stub.php index d1d9928ebf..c1709e8b33 100644 --- a/ext/bz2/bz2.stub.php +++ b/ext/bz2/bz2.stub.php @@ -15,7 +15,7 @@ function bzread($bz, int $length = 1024): string|false {} * @param resource $bz * @alias fwrite */ -function bzwrite($bz, string $data, ?int $max_length = null): int|false {} +function bzwrite($bz, string $data, ?int $length = null): int|false {} /** * @param resource $bz diff --git a/ext/bz2/bz2_arginfo.h b/ext/bz2/bz2_arginfo.h index 236d3e6dfc..83073c0de7 100644 --- a/ext/bz2/bz2_arginfo.h +++ b/ext/bz2/bz2_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: e18326d2ddbe564858abb531fc41b7907fba35c4 */ + * Stub hash: 8eefa180e67776e8e0ba1b27fbf9b32c5b71725c */ ZEND_BEGIN_ARG_INFO_EX(arginfo_bzopen, 0, 0, 2) ZEND_ARG_INFO(0, file) @@ -14,7 +14,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_bzwrite, 0, 2, MAY_BE_LONG|MAY_BE_FALSE) ZEND_ARG_INFO(0, bz) ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, max_length, IS_LONG, 1, "null") + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null") ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_bzflush, 0, 1, _IS_BOOL, 0) |