Skip to content

Commit b858c70

Browse files
authored
Merge pull request #64 from Leneshka-jb/multi
Redis.multi should return Redis
2 parents 180cbd1 + ad0be29 commit b858c70

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Redis.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ public function unlink($key1, $key2 = null, $key3 = null)
571571
* a Redis::PIPELINE block is simply transmitted faster to the server, but without any guarantee of atomicity.
572572
* discard cancels a transaction.
573573
*
574-
* @return resource Redis returns the Redis instance and enters multi-mode.
574+
* @return Redis returns the Redis instance and enters multi-mode.
575575
* Once in multi-mode, all subsequent method calls return the same object until exec() is called.
576576
*
577577
* @link https://redis.io/commands/multi
@@ -3388,10 +3388,10 @@ public function zUnionStore($output, $zSetKeys, array $weights = null, $aggregat
33883388
* @see zUnionStore
33893389
* @deprecated use Redis::zUnionStore()
33903390
*
3391-
* @param $Output
3392-
* @param $ZSetKeys
3391+
* @param string $Output
3392+
* @param array $ZSetKeys
33933393
* @param array|null $Weights
3394-
* @param string $aggregateFunction
3394+
* @param string $aggregateFunction
33953395
*/
33963396
public function zUnion($Output, $ZSetKeys, array $Weights = null, $aggregateFunction = 'SUM')
33973397
{

0 commit comments

Comments
 (0)