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.
2 parents 69d8763 + bc9165f commit d3cde4aCopy full SHA for d3cde4a
Store/RedisStore.php
@@ -36,15 +36,15 @@ class RedisStore implements SharedLockStoreInterface
36
private $supportTime;
37
38
/**
39
- * @param float $initialTtl the expiration delay of locks in seconds
+ * @param float $initialTtl The expiration delay of locks in seconds
40
*/
41
public function __construct(\Redis|\RedisArray|\RedisCluster|\Predis\ClientInterface|RedisProxy|RedisClusterProxy $redisClient, float $initialTtl = 300.0)
42
{
43
if ($initialTtl <= 0) {
44
throw new InvalidTtlException(sprintf('"%s()" expects a strictly positive TTL. Got %d.', __METHOD__, $initialTtl));
45
}
46
47
- $this->redis = $redisClient;
+ $this->redis = $redis;
48
$this->initialTtl = $initialTtl;
49
50
0 commit comments