Sitelet https://github.com/phpredis/phpredis/commit/5c21d7
Skip to content

Commit 5c21d74

Browse files
committed
Issue #1193
1 parent 24e7859 commit 5c21d74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎redis_cluster.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ PHP_METHOD(RedisCluster, __construct) {
506506

507507
// Parse arguments
508508
if(zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
509-
"Os|addb", &object, redis_cluster_ce, &name,
509+
"Os!|addb", &object, redis_cluster_ce, &name,
510510
&name_len, &z_seeds, &timeout,
511511
&read_timeout, &persistent)==FAILURE)
512512
{

0 commit comments

Comments
 (0)