Added support for SDIFFCARD and SUNIONCARD command (#1700)

* Added support for SDIFFCARD and SUNIONCARD command

* Fixed broken test

* Fixed failing tests
This commit is contained in:
Vladyslav Vildanov
2026-07-17 10:36:00 +03:00
committed by GitHub
parent d7bc1c4748
commit 9302204964
11 changed files with 713 additions and 35 deletions
+2
View File
@@ -269,6 +269,7 @@ use Predis\Response\Status;
* @method int sadd(string $key, array $members)
* @method int scard(string $key)
* @method string[] sdiff(array|string $keys)
* @method int sdiffcard(array $keys, int $limit = 0)
* @method int sdiffstore(string $destination, array|string $keys)
* @method string[] sinter(array|string $keys)
* @method int sintercard(array $keys, int $limit = 0)
@@ -284,6 +285,7 @@ use Predis\Response\Status;
* @method array ssubscribe(string ...$shardChannels)
* @method array subscribe(string ...$channels)
* @method string[] sunion(array|string $keys)
* @method int sunioncard(array $keys, bool $approx = false, int $limit = 0)
* @method int sunionstore(string $destination, array|string $keys)
* @method array sunsubscribe(?string ...$shardChannels = null)
* @method int touch(string[]|string $keyOrKeys, string ...$keys = null)