Skip to content

Commit e8a034e

Browse files
committed
doc: add link to documentation
1 parent 378126a commit e8a034e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/Messenger/Transport/RedisExt/Connection.php

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public static function fromDsn(string $dsn, array $redisOptions = [], \Redis $re
9797
$connectionCredentials = [
9898
'host' => $parsedUrl['host'] ?? '127.0.0.1',
9999
'port' => $parsedUrl['port'] ?? 6379,
100+
// See: https://github.com/phpredis/phpredis/#auth
100101
'auth' => isset($parsedUrl['pass']) && isset($parsedUrl['user']) ? [$parsedUrl['user'], $parsedUrl['pass']] : $parsedUrl['pass'] ?? $parsedUrl['user'] ?? null,
101102
];
102103

0 commit comments

Comments
 (0)