Skip to content

Commit a068d4e

Browse files
committed
Merge remote-tracking branch 'upstream/master' into update
Conflicts: src/Redis.php
2 parents fd8a47f + c516719 commit a068d4e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Redis.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public function delete( $key1, $key2 = null, $key3 = null ) {}
270270
/**
271271
* Enter and exit transactional mode.
272272
*
273-
* @internal param Redis::MULTI|Redis::PIPELINE
273+
* @param int Redis::MULTI|Redis::PIPELINE
274274
* Defaults to Redis::MULTI.
275275
* A Redis::MULTI block of commands runs as a single transaction;
276276
* a Redis::PIPELINE block is simply transmitted faster to the server, but without any guarantee of atomicity.
@@ -294,7 +294,7 @@ public function delete( $key1, $key2 = null, $key3 = null ) {}
294294
* // 3 => 'val2');
295295
* </pre>
296296
*/
297-
public function multi( ) {}
297+
public function multi( $mode = Redis::MULTI ) {}
298298

299299
/**
300300
* @see multi()
@@ -760,7 +760,6 @@ public function lLen( $key ) {}
760760
/**
761761
* @see lLen()
762762
* @param string $key
763-
* @param int $index
764763
* @link http://redis.io/commands/llen
765764
*/
766765
public function lSize( $key ) {}
@@ -1511,7 +1510,7 @@ public function expire( $key, $ttl ) {}
15111510
* Sets an expiration date (a timeout in milliseconds) on an item.
15121511
*
15131512
* @param string $key The key that will disappear.
1514-
* @param int $pttl The key's remaining Time To Live, in milliseconds.
1513+
* @param int $ttl The key's remaining Time To Live, in milliseconds.
15151514
* @return bool: TRUE in case of success, FALSE in case of failure.
15161515
* @link http://redis.io/commands/pexpire
15171516
* @example
@@ -1885,6 +1884,7 @@ public function bitCount( $key ) {}
18851884
* @param string $retKey return key
18861885
* @param string $key1
18871886
* @param string $key2
1887+
* @param string $key3
18881888
* @return int The size of the string stored in the destination key.
18891889
* @link http://redis.io/commands/bitop
18901890
* @example
@@ -3255,7 +3255,7 @@ public function _hosts() {}
32553255
public function _function() {}
32563256

32573257
/**
3258-
* @param string key The key for which you want to lookup the host
3258+
* @param string $key The key for which you want to lookup the host
32593259
* @return string the host to be used for a certain key
32603260
*/
32613261
public function _target($key) {}

0 commit comments

Comments
 (0)