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 ) {}
187187 *
188188 * @param string $key
189189 * @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
192192 * @link http://redis.io/commands/set
193193 * @example $redis->set('key', 'value');
194194 */
195- public function set ( $ key , $ value , $ timeout = 0. 0 ) {}
195+ public function set ( $ key , $ value , $ ttl = 0 ) {}
196196
197197 /**
198198 * 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