diff options
-rwxr-xr-x | ext/standard/basic_functions.stub.php | 4 | ||||
-rwxr-xr-x | ext/standard/basic_functions_arginfo.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/basic_functions.stub.php b/ext/standard/basic_functions.stub.php index 92406e22be..8e3996e072 100755 --- a/ext/standard/basic_functions.stub.php +++ b/ext/standard/basic_functions.stub.php @@ -1151,7 +1151,7 @@ function password_get_info(string $hash): ?array {} function password_hash(string $password, string|int|null $algo, array $options = []): string {} -function password_needs_rehash(string $hash, string|int $algo, array $options = []): bool {} +function password_needs_rehash(string $hash, string|int|null $algo, array $options = []): bool {} function password_verify(string $password, string $hash): bool {} @@ -1349,7 +1349,7 @@ function stream_get_wrappers(): array|false {} function stream_get_transports(): array|false {} -/** @param mixed $stream */ +/** @param resource|string $stream */ function stream_is_local($stream): bool {} /** @param resource $stream */ diff --git a/ext/standard/basic_functions_arginfo.h b/ext/standard/basic_functions_arginfo.h index fe4c07518c..5943429517 100755 --- a/ext/standard/basic_functions_arginfo.h +++ b/ext/standard/basic_functions_arginfo.h @@ -1773,7 +1773,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_password_needs_rehash, 0, 2, _IS_BOOL, 0) ZEND_ARG_TYPE_INFO(0, hash, IS_STRING, 0) - ZEND_ARG_TYPE_MASK(0, algo, MAY_BE_STRING|MAY_BE_LONG, NULL) + ZEND_ARG_TYPE_MASK(0, algo, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_NULL, NULL) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]") ZEND_END_ARG_INFO() |