File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -187,12 +187,12 @@ public function get( $key ) {}
187
187
*
188
188
* @param string $key
189
189
* @param string $value
190
- * @param float $timeout Calling setex() is preferred if you want a timeout .
191
- * @return bool: TRUE if the command is successful.
190
+ * @param int $ttl Calling setex() is preferred if you want a Time To Live .
191
+ * @return bool: If the command is successful return TRUE or 'Redis Socket Buffer' object
192
192
* @link http://redis.io/commands/set
193
193
* @example $redis->set('key', 'value');
194
194
*/
195
- public function set ( $ key , $ value , $ timeout = 0. 0 ) {}
195
+ public function set ( $ key , $ value , $ ttl = 0 ) {}
196
196
197
197
/**
198
198
* Set the string value in argument as value of the key, with a time to live.
You can’t perform that action at this time.
0 commit comments