fix(locking): Accept mixed as value on setTTL

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
pull/48689/head
Git'Fellow 2 years ago committed by GitHub
parent 3f75c4808d
commit 8f7784bdf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      lib/private/Lock/MemcacheLockingProvider.php

@ -25,7 +25,7 @@ class MemcacheLockingProvider extends AbstractLockingProvider {
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;
}

Loading…
Cancel
Save