8000 synchronize RelayProxy · kzorluoglu/symfony@2771e7c · GitHub
[go: up one dir, main page]

Skip to content

Commit 2771e7c

Browse files
committed
synchronize RelayProxy
1 parent 51dad92 commit 2771e7c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@ public function info(...$sections): \Relay\Relay|array|false
237237
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->info(...\func_get_args());
238238
}
239239

240-
public function flushdb($async = false): \Relay\Relay|bool
240+
public function flushdb($sync = null): \Relay\Relay|bool
241241
{
242242
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->flushdb(...\func_get_args());
243243
}
244244

245-
public function flushall($async = false): \Relay\Relay|bool
245+
public function flushall($sync = null): \Relay\Relay|bool
246246
{
247247
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->flushall(...\func_get_args());
248248
}
@@ -327,6 +327,11 @@ public function lastsave(): \Relay\Relay|false|int
327327
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lastsave(...\func_get_args());
328328
}
329329

330+
public function lcs($key1, $key2, $options = null): mixed
331+
{
332+
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lcs(...\func_get_args());
333+
}
334+
330335
public function bgsave($schedule = false): \Relay\Relay|bool
331336
{
332337
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bgsave(...\func_get_args());

0 commit comments

Comments
 (0)
0