Skip to content

Commit

Permalink
Remove extra brace & fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence authored May 30, 2023
1 parent 1a92dab commit 9bdc441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9bdc441

Please sign in to comment.