Fix passing NULL for hash expiry argument

The stubs specify `?string $mode = NULL` but we were using `Z_PARAM_STR`
causing an arginfo mismatch.

Fixes #2674
This commit is contained in:
michael-grunder
2025-07-28 09:58:00 -07:00
committed by Michael Grunder
parent 340f23b082
commit ca80ee0e67
+1 -1
View File
@@ -4999,7 +4999,7 @@ int redis_hexpire_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
Z_PARAM_LONG(ttl)
Z_PARAM_ARRAY_HT(fields)
Z_PARAM_OPTIONAL
Z_PARAM_STR(option)
Z_PARAM_STR_OR_NULL(option)
ZEND_PARSE_PARAMETERS_END_EX(return FAILURE);
if (zend_hash_num_elements(fields) < 1) {