diff --git a/src/M6Web/Component/RedisMock/RedisMock.php b/src/M6Web/Component/RedisMock/RedisMock.php index 0bf4195..2019754 100644 --- a/src/M6Web/Component/RedisMock/RedisMock.php +++ b/src/M6Web/Component/RedisMock/RedisMock.php @@ -495,7 +495,7 @@ public function lindex($key, $index) return $this->returnPipedInfo(self::$dataValues[$this->storage][$key][$position]); } - public function lrem($key, $count, $value) + public function lrem($key, $value, $count) { if (!isset(self::$dataValues[$this->storage][$key]) || !in_array($value, self::$dataValues[$this->storage][$key]) || $this->deleteOnTtlExpired($key)) { return $this->returnPipedInfo(0);