8000 Fix deprecation error when passing null to match_type parameter · phpredis/phpredis@b835aaa · GitHub
[go: up one dir, main page]

Skip to content

Commit b835aaa

Browse files
committed
Fix deprecation error when passing null to match_type parameter
1 parent a7f51f7 commit b835aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2765,7 +2765,7 @@ generic_scan_cmd(INTERNAL_FUNCTION_PARAMETERS, REDIS_SCAN_TYPE type) {
27652765
} else {
27662766
// Doesn't require a key
27672767
if(zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(),
2768-
"Oz/|s!lS", &object, redis_ce, &z_iter,
2768+
"Oz/|s!lS!", &object, redis_ce, &z_iter,
27692769
&pattern, &pattern_len, &count, &match_type)
27702770
== FAILURE)
27712771
{

0 commit comments

Comments
 (0)
0