fix: RedisCluster::publish returns a cluster_long_resp

This commit is contained in:
Alexandre Choura
2024-01-16 11:53:58 +01:00
committed by Michael Grunder
parent 3fdd52b42d
commit 14f93339c0
3 changed files with 4 additions and 4 deletions

View File

@@ -704,7 +704,7 @@ class RedisCluster {
/**
* @see Redis::publish
*/
public function publish(string $channel, string $message): RedisCluster|bool;
public function publish(string $channel, string $message): RedisCluster|bool|int;
/**
* @see Redis::pubsub