diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2024-10-14 12:17:27 +0200 |
---|---|---|
committer | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2024-10-30 09:31:59 +0100 |
commit | 8f5aba2eb7fb302ecc04b2182aa95d2eac4e52a6 (patch) | |
tree | 19a968f2795fb4f45cfaebdc9b5bc61817a9b22b | |
parent | 8af1e9f82da75e55f2786977dc441cae4380aaba (diff) | |
download | nextcloud-server-8f5aba2eb7fb302ecc04b2182aa95d2eac4e52a6.tar.gz nextcloud-server-8f5aba2eb7fb302ecc04b2182aa95d2eac4e52a6.zip |
fix(locking): Accept mixed as value on setTTLbackport/48689/stable30
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
-rw-r--r-- | lib/private/Lock/MemcacheLockingProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Lock/MemcacheLockingProvider.php b/lib/private/Lock/MemcacheLockingProvider.php index 883abb5da98..ab9b9699bf3 100644 --- a/lib/private/Lock/MemcacheLockingProvider.php +++ b/lib/private/Lock/MemcacheLockingProvider.php @@ -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; } |