From 8f6a1ddd7531cd1b23742f2759c244e526abdebe Mon Sep 17 00:00:00 2001 From: Mikel Madariaga Date: Thu, 30 Nov 2023 21:08:44 +0100 Subject: [PATCH] fixed phpstan issues --- Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php b/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php index 71f5df9..6d1d66b 100644 --- a/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php +++ b/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php @@ -25,7 +25,7 @@ public function rPush($key, ...$value1) { return false; } public function blPop($key, $timeout_or_key, ...$extra_args) { return []; } - public function scan(&$iterator, $pattern = null, $count = 0) + public function scan(&$iterator, $pattern = null, $count = 0, ...$extra_args) { $iterator = 0; return ['something'];