Skip to content

Commit 2007e0d

Browse files
authored
Merge pull request ukko#61 from Leneshka-jb/sscan
Redis.sScan has string $pattern parameter
2 parents 019d7e2 + d548931 commit 2007e0d

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
@@ -1855,7 +1855,7 @@ public function sGetMembers($key)
18551855
*
18561856
* @param string $key The set to search.
18571857
* @param int $iterator LONG (reference) to the iterator as we go.
1858-
* @param null $pattern String, optional pattern to match against.
1858+
* @param string $pattern String, optional pattern to match against.
18591859
* @param int $count How many members to return at a time (Redis might return a different amount)
18601860
*
18611861
* @return array|bool PHPRedis will return an array of keys or FALSE when we're done iterating

0 commit comments

Comments
 (0)