Skip to content

Commit 2c3daf7

Browse files
author
huyaolong
committed
modify function set $timeout default value.
1 parent acee5c7 commit 2c3daf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Redis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public function get( $key ) {}
240240
*
241241
* @link http://redis.io/commands/set
242242
*/
243-
public function set( $key, $value, $timeout = 0 ) {}
243+
public function set( $key, $value, $timeout = null ) {}
244244

245245
/**
246246
* Set the string value in argument as value of the key, with a time to live.

0 commit comments

Comments
 (0)