mirror of
https://github.com/php-win-ext/phpredis.git
synced 2026-03-24 00:52:16 +01:00
fix: RedisCluster::publish returns a cluster_long_resp
This commit is contained in:
committed by
Michael Grunder
parent
3fdd52b42d
commit
14f93339c0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user