diff --git a/object-cache.php b/object-cache.php index d5f00d9..e46a021 100644 --- a/object-cache.php +++ b/object-cache.php @@ -1256,7 +1256,7 @@ public function build_client_parameters( $redis_server ) { } } - if ( strpos($redis_server['host'], 'unix:///') === 0 ) ) { // Unix socket connection. + if ( strpos( $redis_server['host'], 'unix:///' ) === 0 ) { // Unix socket connection. // port must be null or socket won't connect. $port = null; } else { // tcp connection.