Skip to content

Commit fe46def

Browse files
committed
fix(locking): Accept mixed as value on setTTL
Signed-off-by: Git'Fellow <[email protected]>
1 parent 42c7aab commit fe46def

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Lock/MemcacheLockingProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(
4444
parent::__construct($ttl);
4545
}
4646

47-
private function setTTL(string $path, int $ttl = null, ?int $compare = null): void {
47+
private function setTTL(string $path, int $ttl = null, mixed $compare = null): void {
4848
if (is_null($ttl)) {
4949
$ttl = $this->ttl;
5050
}

0 commit comments

Comments
 (0)