mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01: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:
committed by
Benjamin Gaussorgues
parent
8af1e9f82d
commit
8f5aba2eb7
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user