Skip to content

Commit

Permalink
fix: Removes invalid change made in #437
Browse files Browse the repository at this point in the history
* Reverts this incorrect change that was made due to the incorrect use of `array_replace_recursive()`.
  • Loading branch information
timnolte authored and jazzsequence committed Jun 23, 2023
1 parent 1d2b269 commit 4d56e39
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions object-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -1269,8 +1269,6 @@ public function build_client_parameters( $redis_server ) {
// port must be null or socket won't connect.
unset( $redis_server['port'] );
$port = null;
} elseif ( ! empty( $redis_server['port'] ) ) { // tcp connection.
$port = $redis_server['port'];
}

$defaults = [
Expand Down

0 comments on commit 4d56e39

Please sign in to comment.