Skip to content

Commit

Permalink
Merge pull request #48689 from nextcloud/mixedSetTTL
Browse files Browse the repository at this point in the history
fix(locking): Accept mixed as value on setTTL
  • Loading branch information
solracsf authored Oct 14, 2024
2 parents 3f75c48 + 8f7784b commit ef532fe
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 ef532fe

Please sign in to comment.