We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d3cde4a + bc9165f commit 1737eaaCopy full SHA for 1737eaa
Store/RedisStore.php
@@ -38,7 +38,7 @@ class RedisStore implements SharedLockStoreInterface
38
/**
39
* @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)
+ public function __construct(\Redis|\RedisArray|\RedisCluster|\Predis\ClientInterface|RedisProxy|RedisClusterProxy $redis, float $initialTtl = 300.0)
42
{
43
if ($initialTtl <= 0) {
44
throw new InvalidTtlException(sprintf('"%s()" expects a strictly positive TTL. Got %d.', __METHOD__, $initialTtl));
0 commit comments