From d0361a69b2e4b7989933aed91c3d70edd5eba632 Mon Sep 17 00:00:00 2001 From: riki137 Date: Tue, 26 Apr 2022 14:07:04 +0200 Subject: [PATCH] hscan fix --- src/RedisProxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RedisProxy.php b/src/RedisProxy.php index d26568a..f2452f7 100644 --- a/src/RedisProxy.php +++ b/src/RedisProxy.php @@ -652,7 +652,7 @@ public function hmget(string $key, ...$fields): array * @return array|boolean|null list of found fields with associated values, returns null if $iterator is 0 or '0' * @throws RedisProxyException */ - public function hscan(string $key, &$iterator, ?string $pattern = null, ?int $count = null) + public function hscan(string $key, &$iterator, ?string $pattern = null, int $count = 0) { if ((string)$iterator === '0') { return null;