Skip to content

Commit

Permalink
fix(locking): Accept mixed as value on setTTL
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
  • Loading branch information
solracsf authored and backportbot[bot] committed Oct 14, 2024
1 parent 4c06e32 commit 5b59599
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 5b59599

Please sign in to comment.