Merge pull request #48693 from nextcloud/backport/48689/stable29

[stable29] fix(locking): Accept mixed as value on setTTL
This commit is contained in:
Git'Fellow 2024-10-14 16:42:05 +02:00 committed by GitHub
commit 58910fc139
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}