From d548931de416c8e4d5cc8c69a0d5f87324a4d765 Mon Sep 17 00:00:00 2001 From: Shaverdova Elena Date: Tue, 6 Aug 2019 16:34:09 +0200 Subject: [PATCH] Redis.sscan has string $pattern parameter --- src/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Redis.php b/src/Redis.php index b60dc8e..ea36f97 100644 --- a/src/Redis.php +++ b/src/Redis.php @@ -1855,7 +1855,7 @@ public function sGetMembers($key) * * @param string $key The set to search. * @param int $iterator LONG (reference) to the iterator as we go. - * @param null $pattern String, optional pattern to match against. + * @param string $pattern String, optional pattern to match against. * @param int $count How many members to return at a time (Redis might return a different amount) * * @return array|bool PHPRedis will return an array of keys or FALSE when we're done iterating