Skip to content

Commit 96ef9fe

Browse files
committed
Re-add null keys check
1 parent 447c242 commit 96ef9fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Repositories/RedisRepository.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ public function chunk(string $pattern, int $count): Generator
4141
'count' => $count,
4242
]);
4343

44+
if (is_null($keys)) {
45+
return;
46+
}
47+
4448
if (empty($keys)) {
4549
continue;
4650
}

0 commit comments

Comments
 (0)