Skip to content

Commit

Permalink
Merge pull request #48694 from nextcloud/backport/48689/stable30
Browse files Browse the repository at this point in the history
[stable30] fix(locking): Accept mixed as value on setTTL
  • Loading branch information
solracsf authored Oct 30, 2024
2 parents 93a3288 + 8f5aba2 commit 45469ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Lock/MemcacheLockingProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(
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;
}
Expand Down

0 comments on commit 45469ee

Please sign in to comment.