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 <[email protected]>
  • Loading branch information
solracsf committed Oct 17, 2024
1 parent b37ab13 commit 7621936
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 @@ -44,7 +44,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 7621936

Please sign in to comment.