Skip to content

Commit 1737eaa

Browse files
Merge branch '5.4' into 6.0
* 5.4: Fix bad merge
2 parents d3cde4a + bc9165f commit 1737eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Store/RedisStore.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class RedisStore implements SharedLockStoreInterface
3838
/**
3939
* @param float $initialTtl The expiration delay of locks in seconds
4040
*/
41-
public function __construct(\Redis|\RedisArray|\RedisCluster|\Predis\ClientInterface|RedisProxy|RedisClusterProxy $redisClient, float $initialTtl = 300.0)
41+
public function __construct(\Redis|\RedisArray|\RedisCluster|\Predis\ClientInterface|RedisProxy|RedisClusterProxy $redis, float $initialTtl = 300.0)
4242
{
4343
if ($initialTtl <= 0) {
4444
throw new InvalidTtlException(sprintf('"%s()" expects a strictly positive TTL. Got %d.', __METHOD__, $initialTtl));

0 commit comments

Comments
 (0)