8000 minor #53951 [Cache] Sync the Redis proxies with upstream (alexandre-… · symfony/symfony@32d67d3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 32d67d3

Browse files
minor #53951 [Cache] Sync the Redis proxies with upstream (alexandre-daubois)
This PR was merged into the 6.4 branch. Discussion ---------- [Cache] Sync the Redis proxies with upstream | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix CI | License | MIT Following phpredis/phpredis#2444 Commits ------- 2b8707e [Cache] Sync the Redis proxies with upstream
2 parents e81547b + 2b8707e commit 32d67d3

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ public function bgrewriteaof(): \Redis|bool
9696
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bgrewriteaof(...\func_get_args());
9797
}
9898

99+
public function waitaof($numlocal, $numreplicas, $timeout): \Redis|array|false
100+
{
101+
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->waitaof(...\func_get_args());
102+
}
103+
99104
public function bitcount($key, $start = 0, $end = -1, $bybit = false): \Redis|false|int
100105
{
101106
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitcount(...\func_get_args());

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ public function bgrewriteaof($key_or_address): \RedisCluster|bool
9696
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bgrewriteaof(...\func_get_args());
9797
}
9898

99+
public function waitaof($key_or_address, $numlocal, $numreplicas, $timeout): \RedisCluster|array|false
100+
{
101+
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->waitaof(...\func_get_args());
102+
}
103+
99104
public function bgsave($key_or_address): \RedisCluster|bool
100105
{
101106
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bgsave(...\func_get_args());

0 commit comments

Comments
 (0)
0