mirror of
https://github.com/predis/predis.git
synced 2026-08-24 20:59:37 +00:00
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:
@@ -88,7 +88,7 @@ use Predis\Response\Status;
|
||||
* @method array sort_ro(string $key, ?string $byPattern = null, ?LimitOffsetCount $limit = null, array $getPatterns = [], ?string $sorting = null, bool $alpha = false)
|
||||
* @method int ttl(string $key)
|
||||
* @method mixed type(string $key)
|
||||
* @method int unlink(string ...$keys)
|
||||
* @method int unlink(string[]|string $keyOrKeys, string ...$keys = null)
|
||||
* @method int append(string $key, $value)
|
||||
* @method int arcount(string $key)
|
||||
* @method int ardel(string $key, int ...$index)
|
||||
|
||||
Reference in New Issue
Block a user