8000 CS updates on my own changes · symfony/symfony@a585e7e · GitHub
[go: up one dir, main page]

Skip to content

Commit a585e7e

Browse files
committed
CS updates on my own changes
1 parent 7f6e229 commit a585e7e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Symfony/Component/Cache/Traits/RedisTrait.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,16 +220,15 @@ public static function createConnection(string $dsn, array $options = [])
220220
'connectTimeout' => $params['timeout'],
221221
'persistent' => $params['persistent_id'],
222222
'retryInterval' => $params['retry_interval'],
223-
'readTimeout' => $params['read_timeout']
223+
'readTimeout' => $params['read_timeout'],
224224
];
225225

226226
if ($passAuth) {
227227
$options['auth'] = $params['auth'];
228228
}
229229

230230
$sentinel = new \RedisSentinel($options);
231-
}
232-
else {
231+
} else {
233232
$extra = $passAuth ? [$params['auth']] : [];
234233

235234
$sentinel = new \RedisSentinel($host, $port, $params['timeout'], (string) $params['persistent_id'], $params['retry_interval'], $params['read_timeout'], ...$extra);

0 commit comments

Comments
 (0)
0