Merge pull request #48694 from nextcloud/backport/48689/stable30

[stable30] fix(locking): Accept mixed as value on setTTL
This commit is contained in:
Git'Fellow 2024-10-30 11:29:34 +01:00 committed by GitHub
commit 45469eef85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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