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 37b53a5 commit 0d6e56bCopy full SHA for 0d6e56b
src/Watcher/RedisWatcher.php
@@ -86,7 +86,7 @@ public function close(): void
86
*/
87
private function createRedisClient(array $config): Client
88
{
89
- $redis = new Client('redis://' . $config['host'] ?? '127.0.0.1' . ':' . $config['port'] ?? 6379);
+ $redis = new Client('redis://' . ($config['host'] ?? '127.0.0.1') . ':' . ($config['port'] ?? 6379));
90
$redis->auth($config['password'] ?? '');
91
92
return $redis;
0 commit comments