|
@@ -153,8 +153,8 @@ |
|
|
block discarded – undo |
|
153
|
153
|
protected function getConnectionParameters(array $config): array |
|
154
|
154
|
{ |
|
155
|
155
|
$connectionParameters = []; |
|
156
|
|
- $connectionParameters['host'] = $config['host'] ?? '127.0.0.1'; |
|
157
|
|
- $connectionParameters['port'] = $config['port'] ?? 6379; |
|
|
156
|
+ $connectionParameters['host'] = $config['host'] ? ? '127.0.0.1'; |
|
|
157
|
+ $connectionParameters['port'] = $config['port'] ? ? 6379; |
|
158
|
158
|
if (isset($config['database'])) { |
|
159
|
159
|
$connectionParameters['database'] = $config['database']; |
|
160
|
160
|
} |
Please login to merge, or discard this patch.