We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c927c2 commit 03d9a1dCopy full SHA for 03d9a1d
Key.php
@@ -60,7 +60,7 @@ public function resetLifetime()
60
/**
61
* @param float $ttl the expiration delay of locks in seconds
62
*/
63
- public function reduceLifetime($ttl)
+ public function reduceLifetime(float $ttl)
64
{
65
$newTime = microtime(true) + $ttl;
66
Store/MemcachedStore.php
@@ -161,7 +161,7 @@ private function getUniqueToken(Key $key): string
161
return $key->getState(__CLASS__);
162
}
163
164
- private function getValueAndCas(Key $key)
+ private function getValueAndCas(Key $key): array
165
166
if (null === $this->useExtendedReturn) {
167
$this->useExtendedReturn = version_compare(phpversion('memcached'), '2.9.9', '>');
0 commit comments