mirror of
https://github.com/nextcloud/server.git
synced 2026-05-26 03:04:35 -04:00
Merge pull request #48693 from nextcloud/backport/48689/stable29
[stable29] fix(locking): Accept mixed as value on setTTL
This commit is contained in:
commit
58910fc139
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class MemcacheLockingProvider extends AbstractLockingProvider {
|
|||
parent::__construct($ttl);
|
||||
}
|
||||
|
||||
private function setTTL(string $path, ?int $ttl = null, ?int $compare = null): void {
|
||||
private function setTTL(string $path, ?int $ttl = null, mixed $compare = null): void {
|
||||
if (is_null($ttl)) {
|
||||
$ttl = $this->ttl;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue