We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e1dde4 commit 2aa6a2fCopy full SHA for 2aa6a2f
PhpRedis.php
@@ -111,8 +111,8 @@ public function connect(): void
111
$this->config['port'],
112
$this->config['timeout'],
113
$this->config['persistent'] ? ($this->config['phpredis_persistent_id'] ?? null) : null,
114
- $this->config['phpredis_retry_interval'] ?? null,
115
- $this->config['read_write_timeout']
+ (int) ($this->config['phpredis_retry_interval'] ?? 0),
+ (float) $this->config['read_write_timeout'] ?? 0
116
);
117
118
if (false == $result) {
0 commit comments