aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-10-14 12:17:27 +0200
committerBenjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>2024-10-30 09:31:59 +0100
commit8f5aba2eb7fb302ecc04b2182aa95d2eac4e52a6 (patch)
tree19a968f2795fb4f45cfaebdc9b5bc61817a9b22b
parent8af1e9f82da75e55f2786977dc441cae4380aaba (diff)
downloadnextcloud-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.php2
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;
}