@@ -2596,15 +2596,15 @@ PHP_METHOD(RedisCluster, hscan) {
2596
2596
/* }}} */
2597
2597
2598
2598
/* {{{ proto RedisCluster::save(string key)
2599
- * proto RedisCluster::save(string host, long port ) */
2599
+ * proto RedisCluster::save(array host_port ) */
2600
2600
PHP_METHOD (RedisCluster , save ) {
2601
2601
cluster_empty_node_cmd (INTERNAL_FUNCTION_PARAM_PASSTHRU , "SAVE" , TYPE_LINE ,
2602
2602
cluster_bool_resp );
2603
2603
}
2604
2604
/* }}} */
2605
2605
2606
2606
/* {{{ proto RedisCluster::bgsave(string key)
2607
- * proto RedisCluster::bgsave(string host, long port ) */
2607
+ * proto RedisCluster::bgsave(array host_port ) */
2608
2608
PHP_METHOD (RedisCluster , bgsave ) {
2609
2609
cluster_empty_node_cmd (INTERNAL_FUNCTION_PARAM_PASSTHRU , "BGSAVE" ,
2610
2610
TYPE_LINE , cluster_bool_resp );
@@ -2628,15 +2628,15 @@ PHP_METHOD(RedisCluster, flushall) {
2628
2628
/* }}} */
2629
2629
2630
2630
/* {{{ proto RedisCluster::dbsize(string key)
2631
- * proto RedisCluster::dbsize(string host, long port ) */
2631
+ * proto RedisCluster::dbsize(array host_port ) */
2632
2632
PHP_METHOD (RedisCluster , dbsize ) {
2633
2633
cluster_empty_node_cmd (INTERNAL_FUNCTION_PARAM_PASSTHRU , "DBSIZE" ,
2634
2634
TYPE_INT , cluster_long_resp );
2635
2635
}
2636
2636
/* }}} */
2637
2637
2638
2638
/* {{{ proto RedisCluster::bgrewriteaof(string key)
2639
- * proto RedisCluster::bgrewriteaof(string host, long port ) */
2639
+ * proto RedisCluster::bgrewriteaof(array host_port ) */
2640
2640
PHP_METHOD (RedisCluster , bgrewriteaof ) {
2641
2641
cluster_empty_node_cmd (INTERNAL_FUNCTION_PARAM_PASSTHRU , "BGREWRITEAOF" ,
2642
2642
TYPE_LINE , cluster_bool_resp );
0 commit comments