We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7bd1b5 commit 59952f2Copy full SHA for 59952f2
src/RedisConnection.php
@@ -203,9 +203,7 @@ protected function createRedisCluster(): RedisCluster
203
$parameters[] = $this->config['timeout'] ?? 0.0;
204
$parameters[] = $this->config['cluster']['read_timeout'] ?? 0.0;
205
$parameters[] = $this->config['cluster']['persistent'] ?? false;
206
- if (isset($this->config['auth'])) {
207
- $parameters[] = $this->config['auth'];
208
- }
+ $parameters[] = $this->config['auth'] ?? null;
209
if (! empty($this->config['cluster']['context'])) {
210
$parameters[] = $this->config['cluster']['context'];
211
}
0 commit comments