From b6cc293e9f5235d14c879e3d7e1459aa24c90c2e Mon Sep 17 00:00:00 2001 From: Shaverdova Elena Date: Tue, 6 Aug 2019 16:46:36 +0200 Subject: [PATCH 1/2] Provide parameter types for Redis.zUnion --- src/Redis.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Redis.php b/src/Redis.php index b60dc8e..4561e23 100644 --- a/src/Redis.php +++ b/src/Redis.php @@ -3388,10 +3388,10 @@ public function zUnionStore($output, $zSetKeys, array $weights = null, $aggregat * @see zUnionStore * @deprecated use Redis::zUnionStore() * - * @param $Output - * @param $ZSetKeys + * @param string $Output + * @param array $ZSetKeys * @param array|null $Weights - * @param string $aggregateFunction + * @param string $aggregateFunction */ public function zUnion($Output, $ZSetKeys, array $Weights = null, $aggregateFunction = 'SUM') { From ad0be299ff9c014a49fb702d77d97e693e147c35 Mon Sep 17 00:00:00 2001 From: Shaverdova Elena Date: Thu, 8 Aug 2019 16:09:52 +0200 Subject: [PATCH 2/2] Redis.multi returns Redis --- src/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Redis.php b/src/Redis.php index 4561e23..dbb380f 100644 --- a/src/Redis.php +++ b/src/Redis.php @@ -571,7 +571,7 @@ public function unlink($key1, $key2 = null, $key3 = null) * a Redis::PIPELINE block is simply transmitted faster to the server, but without any guarantee of atomicity. * discard cancels a transaction. * - * @return resource Redis returns the Redis instance and enters multi-mode. + * @return Redis returns the Redis instance and enters multi-mode. * Once in multi-mode, all subsequent method calls return the same object until exec() is called. * * @link https://redis.io/commands/multi