From 9213f02da8ef7cb0189b8424b3ccfaebe558b3a9 Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Mon, 21 Jul 2014 14:37:29 +0200 Subject: [PATCH] Fix phpdocs. --- src/Connection/Aggregate/RedisCluster.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Connection/Aggregate/RedisCluster.php b/src/Connection/Aggregate/RedisCluster.php index a2396a27..1c43edf1 100644 --- a/src/Connection/Aggregate/RedisCluster.php +++ b/src/Connection/Aggregate/RedisCluster.php @@ -43,7 +43,7 @@ use Predis\Response\ErrorInterface as ErrorResponseInterface; * It is also possible to ask for the full and updated slots map directly to one * of the nodes and optionally enable such a behaviour upon -MOVED redirections. * Asking for the cluster configuration to Redis is actually done by issuing a - * CLUSTER NODES command to a random node in the pool. + * CLUSTER SLOTS command to a random node in the pool. * * @author Daniele Alessandri */ @@ -176,7 +176,7 @@ class RedisCluster implements ClusterInterface, IteratorAggregate, Countable /** * Generates an updated slots map fetching the cluster configuration using - * the CLUSTER NODES command against the specified node or a random one from + * the CLUSTER SLOTS command against the specified node or a random one from * the pool. * * @param NodeConnectionInterface $connection Optional connection instance. @@ -512,7 +512,7 @@ class RedisCluster implements ClusterInterface, IteratorAggregate, Countable /** * Enables automatic fetching of the current slots map from one of the nodes - * using the CLUSTER NODES command. This option is disabled by default but + * using the CLUSTER SLOTS command. This option is disabled by default but * asking the current slots map to Redis upon -MOVED responses may reduce * overhead by eliminating the trial-and-error nature of the node guessing * procedure, mostly when targeting many keys that would end up in a lot of @@ -521,7 +521,7 @@ class RedisCluster implements ClusterInterface, IteratorAggregate, Countable * The slots map can still be manually fetched using the askSlotsMap() * method whether or not this option is enabled. * - * @param bool $value Enable or disable the use of CLUSTER NODES. + * @param bool $value Enable or disable the use of CLUSTER SLOTS. */ public function enableAutoSlotsMap($value) {