diff --git a/src/Cluster/ClusterStrategy.php b/src/Cluster/ClusterStrategy.php index bf84aac4..d97828bd 100644 --- a/src/Cluster/ClusterStrategy.php +++ b/src/Cluster/ClusterStrategy.php @@ -181,8 +181,8 @@ abstract class ClusterStrategy implements StrategyInterface 'SSUBSCRIBE' => $getKeyFromAllArguments, 'SUNSUBSCRIBE' => [$this, 'getKeyFromSUnsubscribeCommand'], 'SPUBLISH' => $getKeyFromFirstArgument, - - /* cluster */ + + /* cluster */ 'CLUSTER' => [$this, 'getFakeKey'], ]; } diff --git a/tests/Predis/Cluster/PredisStrategyTest.php b/tests/Predis/Cluster/PredisStrategyTest.php index 0f612554..83972e3a 100644 --- a/tests/Predis/Cluster/PredisStrategyTest.php +++ b/tests/Predis/Cluster/PredisStrategyTest.php @@ -500,7 +500,7 @@ class PredisStrategyTest extends PredisTestCase 'SSUBSCRIBE' => 'keys-all', 'SUNSUBSCRIBE' => 'keys-sunsubscribe', 'SPUBLISH' => 'keys-first', - + /* cluster */ 'CLUSTER' => 'keys-fake', ]; diff --git a/tests/Predis/Cluster/RedisStrategyTest.php b/tests/Predis/Cluster/RedisStrategyTest.php index 236a3486..20df8e55 100644 --- a/tests/Predis/Cluster/RedisStrategyTest.php +++ b/tests/Predis/Cluster/RedisStrategyTest.php @@ -523,7 +523,7 @@ class RedisStrategyTest extends PredisTestCase 'SSUBSCRIBE' => 'keys-all', 'SUNSUBSCRIBE' => 'keys-sunsubscribe', 'SPUBLISH' => 'keys-first', - + /* cluster */ 'CLUSTER' => 'keys-fake', ];