mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
We actually do return bool in sismember so do the same here
This commit is contained in:
committed by
Michael Grunder
parent
38115decb9
commit
92137ffd3f
@@ -1094,9 +1094,9 @@ class RedisCluster {
|
||||
* @param string $key The vector set to query.
|
||||
* @param mixed $member The member to check for.
|
||||
*
|
||||
* @return RedisCluster|int|false 1 if the member exists, 0 if it does not.
|
||||
* @return RedisCluster|bool true if the member exists, false if it does not.
|
||||
*/
|
||||
public function vismember(string $key, mixed $member): RedisCluster|int|false;
|
||||
public function vismember(string $key, mixed $member): RedisCluster|bool;
|
||||
|
||||
/**
|
||||
* @see Redis::vemb
|
||||
|
||||
Reference in New Issue
Block a user