Skip to content

Commit

Permalink
fix missing <code> tags
Browse files Browse the repository at this point in the history
  • Loading branch information
divinity76 authored and michael-grunder committed May 13, 2024
1 parent 0f94d9c commit f865d5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions redis.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ public function discard(): Redis|bool;
/**
* Dump Redis' internal binary representation of a key.
*
* <code>
* $redis->zRange('new-zset', 0, -1, true);
* </code>
*
Expand Down Expand Up @@ -2671,6 +2672,7 @@ public function sDiffStore(string $dst, string $key, string ...$other_keys): Red
* @param string $other_keys One or more Redis SET keys.
*
* @example
* <code>
* $redis->pipeline()
* ->del('alice_likes', 'bob_likes', 'bill_likes')
* ->sadd('alice_likes', 'asparagus', 'broccoli', 'carrot', 'potato')
Expand All @@ -2695,12 +2697,12 @@ public function sInter(array|string $key, string ...$other_keys): Redis|array|fa
* @see https://redis.io/commands/sintercard
*
* @example
* <code>
* $redis->sAdd('set1', 'apple', 'pear', 'banana', 'carrot');
* $redis->sAdd('set2', 'apple', 'banana');
* $redis->sAdd('set3', 'pear', 'banana');
*
* $redis->sInterCard(['set1', 'set2', 'set3']);
* ?>
* </code>
*/
public function sintercard(array $keys, int $limit = -1): Redis|int|false;
Expand All @@ -2719,10 +2721,9 @@ public function sintercard(array $keys, int $limit = -1): Redis|int|false;
*
* @see https://redis.io/commands/sinterstore
* @see Redis::sinter()
*
* <code>
* @example $redis->sInterStore(['dst', 'src1', 'src2', 'src3']);
* @example $redis->sInterStore('dst', 'src1', 'src'2', 'src3');
* ?>
* </code>
*/
public function sInterStore(array|string $key, string ...$other_keys): Redis|int|false;
Expand Down Expand Up @@ -2934,7 +2935,6 @@ public function scan(null|int|string &$iterator, ?string $pattern = null, int $c
* @see https://redis.io/commands/scard
*
* @example $redis->scard('set');
* </code>
*/
public function scard(string $key): Redis|int|false;

Expand Down

0 comments on commit f865d5b

Please sign in to comment.