Skip to content

Commit d3cde4a

Browse files
Merge branch '5.4' into 6.0
* 5.4: [Cache] backport type fixes [Cache] Remove MemcachedTrait
2 parents 69d8763 + bc9165f commit d3cde4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Store/RedisStore.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ class RedisStore implements SharedLockStoreInterface
3636
private $supportTime;
3737

3838
/**
39-
* @param float $initialTtl the expiration delay of locks in seconds
39+
* @param float $initialTtl The expiration delay of locks in seconds
4040
*/
4141
public function __construct(\Redis|\RedisArray|\RedisCluster|\Predis\ClientInterface|RedisProxy|RedisClusterProxy $redisClient, float $initialTtl = 300.0)
4242
{
4343
if ($initialTtl <= 0) {
4444
throw new InvalidTtlException(sprintf('"%s()" expects a strictly positive TTL. Got %d.', __METHOD__, $initialTtl));
4545
}
4646

47-
$this->redis = $redisClient;
47+
$this->redis = $redis;
4848
$this->initialTtl = $initialTtl;
4949
}
5050

0 commit comments

Comments
 (0)