Skip to content

Commit 91bcc05

Browse files
committed
Use more readable version_compare
1 parent a585e7e commit 91bcc05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public static function createConnection(string $dsn, array $options = [])
213213
break;
214214
}
215215

216-
if (version_compare(phpversion('redis'), '6.0.0') >= 0) {
216+
if (version_compare(phpversion('redis'), '6.0.0', '>=')) {
217217
$options = [
218218
'host' => $host,
219219
'port' => $port,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy