Skip to content

Commit f3ac4d0

Browse files
committed
fix(redis): call eval instead of evaluate (#FRAM-209)
1 parent c0b471f commit f3ac4d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Connection/Redis/PhpRedis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function blPop(array $keys, $timeout)
168168
public function evaluate($script, array $keys = [], array $args = [])
169169
{
170170
try {
171-
return $this->checkError($this->redis->evaluate($script, array_merge($keys, $args), count($keys)));
171+
return $this->checkError($this->redis->eval($script, array_merge($keys, $args), count($keys)));
172172
} catch (RedisException $e) {
173173
throw new ConnectionLostException($e->getMessage(), $e->getCode(), $e);
174174
}

0 commit comments

Comments
 (0)