Skip to content

Commit 29ccae0

Browse files
author
Max Kamashev
committed
small fix
1 parent a5473d8 commit 29ccae0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

redisphp.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,15 +1176,15 @@ public function slaveof($host = '', $port = '') {}
11761176
* - "refcount"
11771177
* - "idletime"
11781178
*
1179+
* @param string $string
11791180
* @param string $key
1180-
* @param string $value
11811181
* @return STRING for "encoding", LONG for "refcount" and "idletime", FALSE if the key doesn't exist.
11821182
* @example
11831183
* $redis->object("encoding", "l"); // → ziplist
11841184
* $redis->object("refcount", "l"); // → 1
11851185
* $redis->object("idletime", "l"); // → 400 (in seconds, with a precision of 10 seconds).
11861186
*/
1187-
public function object($key = '', $value = '') {}
1187+
public function object($string = '', $key = '') {}
11881188

11891189
/**
11901190
* Performs a synchronous save.
@@ -1227,7 +1227,7 @@ public function lastSave() {}
12271227
* @example
12281228
* $redis->type('key');
12291229
*/
1230-
public function type() {}
1230+
public function type($key) {}
12311231

12321232
/**
12331233
* Append specified string to the string stored in specified key.

0 commit comments

Comments
 (0)