Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 50529f5

Browse files
Context array should be nullable
Fixes #2521
1 parent 7de29d5 commit 50529f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

redis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ redis_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
537537
#endif
538538

539539
if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(),
540-
"Os|lds!lda", &object, redis_ce, &host,
540+
"Os|lds!lda!", &object, redis_ce, &host,
541541
&host_len, &port, &timeout, &persistent_id,
542542
&persistent_id_len, &retry_interval,
543543
&read_timeout, &context) == FAILURE)

0 commit comments

Comments
 (0)