Fix UNLINK missing single-array argument normalization (#1687)

* Allow  to accept an array of keys as a single argument

* fix signature

* update changelog
This commit is contained in:
Adrian Brajkovic
2026-06-11 10:01:07 +02:00
committed by GitHub
parent 98180048d0
commit fc345603a4
5 changed files with 29 additions and 2 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ use Predis\Command\Redis\VADD;
* @method $this sort_ro(string $key, ?string $byPattern = null, ?LimitOffsetCount $limit = null, array $getPatterns = [], ?string $sorting = null, bool $alpha = false)
* @method $this ttl($key)
* @method $this type($key)
* @method $this unlink(string ...$keys)
* @method $this unlink(string[]|string $keyOrKeys, string ...$keys = null)
* @method $this append($key, $value)
* @method $this arcount(string $key)
* @method $this ardel(string $key, int ...$index)