8000 [Cache] sync Redis6Proxy · symfony/symfony@455bd43 · GitHub
[go: up one dir, main page]

Skip to content

Commit 455bd43

Browse files
[Cache] sync Redis6Proxy
1 parent c2d3dd8 commit 455bd43

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

src/Symfony/Component/Cache/Traits/Redis6Proxy.php

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,16 +242,26 @@ public function echo($str): \Redis|false|string
242242
return $this->lazyObjectReal->echo(...\func_get_args());
243243
}
244244

245-
public function eval($script, $keys = null, $num_keys = 0): mixed
245+
public function eval($script, $args = [], $num_keys = 0): mixed
246246
{
247247
return $this->lazyObjectReal->eval(...\func_get_args());
248248
}
249249

250-
public function evalsha($sha1, $keys = null, $num_keys = 0): mixed
250+
public function eval_ro($script_sha, $args = [], $num_keys = 0): mixed
251+
{
252+
return $this->lazyObjectReal->eval_ro(...\func_get_args());
253+
}
254+
255+
public function evalsha($sha1, $args = [], $num_keys = 0): mixed
251256
{
252257
return $this->lazyObjectReal->evalsha(...\func_get_args());
253258
}
254259

260+
public function evalsha_ro($sha1, $args = [], $num_keys = 0): mixed
261+
{
262+
return $this->lazyObjectReal->evalsha_ro(...\func_get_args());
263+
}
264+
255265
public function exec(): \Redis|array|false
256266
{
257267
return $this->lazyObjectReal->exec(...\func_get_args());

src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,21 @@ public function eval($script, $args = [], $num_keys = 0): mixed
242242
return $this->lazyObjectReal->eval(...\func_get_args());
243243
}
244244

245+
public function eval_ro($script, $args = [], $num_keys = 0): mixed
246+
{
247+
return $this->lazyObjectReal->eval_ro(...\func_get_args());
248+
}
249+
245250
public function evalsha($script_sha, $args = [], $num_keys = 0): mixed
246251
{
247252
return $this->lazyObjectReal->evalsha(...\func_get_args());
248253
}
249254

255+
public function evalsha_ro($script_sha, $args = [], $num_keys = 0): mixed
256+
{
257+
return $this->lazyObjectReal->evalsha_ro(...\func_get_args());
258+
}
259+
250260
public function exec(): array|false
251261
{
252262
return $this->lazyObjectReal->exec(...\func_get_args());

0 commit comments

Comments
 (0)
0