aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-10-14 12:17:27 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-10-14 13:45:00 +0000
commitee65aedc67eb053a329b91e03fd380c43c37120b (patch)
treeb164017519b249ae268b93c192356a1b3ad65bda /lib
parent3fe97b1336655bb2ea7d1bfe2d128ddab2dfe20e (diff)
downloadnextcloud-server-ee65aedc67eb053a329b91e03fd380c43c37120b.tar.gz
nextcloud-server-ee65aedc67eb053a329b91e03fd380c43c37120b.zip
fix(locking): Accept mixed as value on setTTLbackport/48689/stable29
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Diffstat (limited to 'lib')
-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 bc0ea989cbd..19841e0cb59 100644
--- a/lib/private/Lock/MemcacheLockingProvider.php
+++ b/lib/private/Lock/MemcacheLockingProvider.php
@@ -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;
}