Skip to content

Commit 9985a35

Browse files
authored
Merge pull request #34 from mreloaded/master
First parameter to delete should be "string|array", not "int|array".
2 parents f013bdd + 9ad5f58 commit 9985a35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Redis.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public function setnx( $key, $value ) {}
272272
/**
273273
* Remove specified keys.
274274
*
275-
* @param int|array $key1 An array of keys, or an undefined number of parameters, each a key: key1 key2 key3 ... keyN
275+
* @param string|array $key1 An array of keys, or an undefined number of parameters, each a key: key1 key2 key3 ... keyN
276276
* @param string $key2 ...
277277
* @param string $key3 ...
278278
* @return int Number of keys deleted.
@@ -291,7 +291,7 @@ public function del( $key1, $key2 = null, $key3 = null ) {}
291291

292292
/**
293293
* @see del()
294-
* @param int|array $key1
294+
* @param string|array $key1
295295
* @param string $key2
296296
* @param string $key3
297297
* @return int Number of keys deleted.

0 commit comments

Comments
 (0)