aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-10-30 11:29:34 +0100
committerGitHub <noreply@github.com>2024-10-30 11:29:34 +0100
commit45469eef8504d00431a9e1da38cb704d36be10b2 (patch)
tree6ddf1f87c66c46aef5239d5cd6d011977799a856 /lib
parent93a3288bd11a2091766786f69b265a5b8815f92f (diff)
parent8f5aba2eb7fb302ecc04b2182aa95d2eac4e52a6 (diff)
downloadnextcloud-server-45469eef8504d00431a9e1da38cb704d36be10b2.tar.gz
nextcloud-server-45469eef8504d00431a9e1da38cb704d36be10b2.zip
Merge pull request #48694 from nextcloud/backport/48689/stable30
[stable30] fix(locking): Accept mixed as value on setTTL
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 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;
}