@@ -977,6 +977,7 @@ public function discard(): Redis|bool;
977
977
/**
978
978
* Dump Redis' internal binary representation of a key.
979
979
*
980
+ * <code>
980
981
* $redis->zRange('new-zset', 0, -1, true);
981
982
* </code>
982
983
*
@@ -2671,6 +2672,7 @@ public function sDiffStore(string $dst, string $key, string ...$other_keys): Red
2671
2672
* @param string $other_keys One or more Redis SET keys.
2672
2673
*
2673
2674
* @example
2675
+ * <code>
2674
2676
* $redis->pipeline()
2675
2677
* ->del('alice_likes', 'bob_likes', 'bill_likes')
2676
2678
* ->sadd('alice_likes', 'asparagus', 'broccoli', 'carrot', 'potato')
@@ -2695,12 +2697,12 @@ public function sInter(array|string $key, string ...$other_keys): Redis|array|fa
2695
2697
* @see https://redis.io/commands/sintercard
2696
2698
*
2697
2699
* @example
2700
+ * <code>
2698
2701
* $redis->sAdd('set1', 'apple', 'pear', 'banana', 'carrot');
2699
2702
* $redis->sAdd('set2', 'apple', 'banana');
2700
2703
* $redis->sAdd('set3', 'pear', 'banana');
2701
2704
*
2702
2705
* $redis->sInterCard(['set1', 'set2', 'set3']);
2703
- * ?>
2704
2706
* </code>
2705
2707
*/
2706
2708
public function sintercard (array $ keys , int $ limit = -1 ): Redis |int |false ;
@@ -2719,10 +2721,9 @@ public function sintercard(array $keys, int $limit = -1): Redis|int|false;
2719
2721
*
2720
2722
* @see https://redis.io/commands/sinterstore
2721
2723
* @see Redis::sinter()
2722
- *
2724
+ * <code>
2723
2725
* @example $redis->sInterStore(['dst', 'src1', 'src2', 'src3']);
2724
2726
* @example $redis->sInterStore('dst', 'src1', 'src'2', 'src3');
2725
- * ?>
2726
2727
* </code>
2727
2728
*/
2728
2729
public function sInterStore (array |string $ key , string ...$ other_keys ): Redis |int |false ;
@@ -2934,7 +2935,6 @@ public function scan(null|int|string &$iterator, ?string $pattern = null, int $c
2934
2935
* @see https://redis.io/commands/scard
2935
2936
*
2936
2937
* @example $redis->scard('set');
2937
- * </code>
2938
2938
*/
2939
2939
public function scard (string $ key ): Redis |int |false ;
2940
2940
0 commit comments