We actually do return bool in sismember so do the same here

This commit is contained in:
michael-grunder
2025-08-30 14:38:10 -07:00
committed by Michael Grunder
parent 38115decb9
commit 92137ffd3f
9 changed files with 26 additions and 20 deletions
+2 -2
View File
@@ -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