ClientInterface: update watch command accepting string and string[] (#1476)

This commit is contained in:
Stephan
2025-02-13 17:39:51 +00:00
committed by GitHub
parent 549889b198
commit 355faa099f
2 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -334,7 +334,7 @@ use Predis\Response\Status;
* @method mixed multi()
* @method mixed unwatch()
* @method array waitaof(int $numLocal, int $numReplicas, int $timeout)
* @method mixed watch(string $key)
* @method mixed watch(string[]|string $keyOrKeys)
* @method mixed eval(string $script, int $numkeys, string ...$keyOrArg = null)
* @method mixed eval_ro(string $script, array $keys, ...$argument)
* @method mixed evalsha(string $script, int $numkeys, string ...$keyOrArg = null)