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.
2 parents 4bebd2a + 8487f72 commit 150aee0Copy full SHA for 150aee0
.gitattributes
@@ -1,2 +1,3 @@
1
/tests export-ignore
2
/.github export-ignore
3
+/types export-ignore
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