Skip to content

Commit 2aa6a2f

Browse files
committed
Updting lowest dep
Updating the lowest dependecy until deprication warnings are fix.
1 parent 5e1dde4 commit 2aa6a2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PhpRedis.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ public function connect(): void
111111
$this->config['port'],
112112
$this->config['timeout'],
113113
$this->config['persistent'] ? ($this->config['phpredis_persistent_id'] ?? null) : null,
114-
$this->config['phpredis_retry_interval'] ?? null,
115-
$this->config['read_write_timeout']
114+
(int) ($this->config['phpredis_retry_interval'] ?? 0),
115+
(float) $this->config['read_write_timeout'] ?? 0
116116
);
117117

118118
if (false == $result) {

0 commit comments

Comments
 (0)