mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
fix(locking): Accept mixed as value on setTTL
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
parent
8af1e9f82d
commit
8f5aba2eb7
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,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