Skip to content

Commit 58910fc

Browse files
authored
Merge pull request #48693 from nextcloud/backport/48689/stable29
[stable29] fix(locking): Accept mixed as value on setTTL
2 parents 3fe97b1 + ee65aed commit 58910fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Lock/MemcacheLockingProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(
4444
parent::__construct($ttl);
4545
}
4646

47-
private function setTTL(string $path, ?int $ttl = null, ?int $compare = null): void {
47+
private function setTTL(string $path, ?int $ttl = null, mixed $compare = null): void {
4848
if (is_null($ttl)) {
4949
$ttl = $this->ttl;
5050
}

0 commit comments

Comments
 (0)