Skip to content

Commit 41b0d86

Browse files
committed
Merge branch 'main' of github.com:hypervel/components
2 parents d0e68aa + 29335d5 commit 41b0d86

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/redis/src/RedisConnection.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,14 @@ public function sscan($key, &$cursor, ...$arguments): mixed
412412
return $cursor === 0 && empty($result) ? false : [$cursor, $result];
413413
}
414414

415+
/**
416+
* Evaluate a script and return its result.
417+
*/
418+
protected function callEval(string $script, int $numberOfKeys, mixed ...$arguments): mixed
419+
{
420+
return $this->connection->eval($script, $arguments, $numberOfKeys);
421+
}
422+
415423
/**
416424
* Evaluate a LUA script serverside, from the SHA1 hash of the script instead of the script itself.
417425
*/

0 commit comments

Comments
 (0)