diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2024-10-14 12:17:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 12:17:27 +0200 |
commit | 8f7784bdf9a453e22544dc6cd0618a97d61004ee (patch) | |
tree | 5ef69c5877503ec11c751abd18b672b6eb842909 /lib/private | |
parent | 3f75c4808d5153588c671c6a47c6aadb501f6308 (diff) | |
download | nextcloud-server-8f7784bdf9a453e22544dc6cd0618a97d61004ee.tar.gz nextcloud-server-8f7784bdf9a453e22544dc6cd0618a97d61004ee.zip |
fix(locking): Accept mixed as value on setTTLmixedSetTTL
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Diffstat (limited to 'lib/private')
-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 b249e08d717..8cc0c27bbf9 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; } |