Skip to content

Commit

Permalink
Merge pull request #34 from jakeh999/patch-1
Browse files Browse the repository at this point in the history
Fix PHP 8.1 Deprecation
  • Loading branch information
sgiehl authored Jan 18, 2023
2 parents a54c3ae + 392c4ef commit 8dd6852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backend/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function buildRedisCache($options)
if (empty($options['unix_socket'])) {
$redis->connect($options['host'], $options['port'], $timeout);
} else {
$redis->connect($options['unix_socket'], null, $timeout);
$redis->connect($options['unix_socket'], 0, $timeout);
}

if (!empty($options['password'])) {
Expand Down

0 comments on commit 8dd6852

Please sign in to comment.