diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2024-10-14 15:43:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 15:43:08 +0200 |
commit | ef532fefdacb34a4411e0b7c3193dff4c738aae2 (patch) | |
tree | 5ef69c5877503ec11c751abd18b672b6eb842909 | |
parent | 3f75c4808d5153588c671c6a47c6aadb501f6308 (diff) | |
parent | 8f7784bdf9a453e22544dc6cd0618a97d61004ee (diff) | |
download | nextcloud-server-ef532fefdacb34a4411e0b7c3193dff4c738aae2.tar.gz nextcloud-server-ef532fefdacb34a4411e0b7c3193dff4c738aae2.zip |
Merge pull request #48689 from nextcloud/mixedSetTTL
fix(locking): Accept mixed as value on setTTL
-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; } |