File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 32
32
env :
33
33
# The hostname used to communicate with the Redis service container
34
34
REDIS_HOST : redis
35
+ REDIS_SENTINEL_HOST : redis-sentinel
35
36
# The default Redis port
36
37
REDIS_PORT : 6379
38
+ REDIS_SENTINEL_PORT : 26379
37
39
# MySQL
38
40
DB_DATABASE : test
39
41
DB_USER : root
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ public function getRedisSentinel(): \RedisSentinel
130
130
* @return self
131
131
* @throws StorageException
132
132
*/
133
- public static function fromExistingConnection (\Redis $ redis , \RedisSentinel $ redisSentinel = null ): self
133
+ public static function fromExistingConnection (\Redis $ redis , ? \RedisSentinel $ redisSentinel = null ): self
134
134
{
135
135
if (isset ($ redisSentinel )) {
136
136
RedisSentinel::fromExistingConnection ($ redisSentinel );
You can’t perform that action at this time.
0 commit comments