Skip to content

Commit fd6517b

Browse files
committed
Merge ukko/phpredis-phpdoc#62 to 64 to avoid regressions after #643
1 parent 21af6cc commit fd6517b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

redis/Redis.php

Lines changed: 5 additions & 5 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
{
@@ -4548,7 +4548,7 @@ public function time()
45484548
* @example
45494549
* <pre>
45504550
* $iterator = null;
4551-
* while($keys = $redis->scan($iterator)) {
4551+
* while(false !== ($keys = $redis->scan($iterator))) {
45524552
* foreach($keys as $key) {
45534553
* echo $key . PHP_EOL;
45544554
* }

0 commit comments

Comments
 (0)