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 0aefb24 commit 5e49c72Copy full SHA for 5e49c72
src/LaunchDarkly/Impl/Integrations/PHPRedisFeatureRequester.php
@@ -66,12 +66,11 @@ protected function getConnection()
66
$this->_redisOptions["timeout"],
67
'launchdarkly/php-server-sdk-redis-phpredis'
68
);
69
- if (
70
- $this->_redisOptions['password'] !== null &&
71
- $this->_redisOptions['password' !== '']
72
- ) {
+
+ if ($this->_redisOptions['password']) {
73
$redis->auth($this->_redisOptions['password']);
74
}
75
return $this->_redisInstance = $redis;
76
77
0 commit comments