|
@@ -8,7 +8,7 @@ discard block |
|
|
block discarded – undo |
|
8
|
8
|
// +---------------------------------------------------------------------- |
|
9
|
9
|
// | Author: liu21st <[email protected]> |
|
10
|
10
|
// +---------------------------------------------------------------------- |
|
11
|
|
-declare (strict_types = 1); |
|
|
11
|
+declare(strict_types=1); |
|
12
|
12
|
|
|
13
|
13
|
namespace think\cache\driver; |
|
14
|
14
|
|
|
@@ -58,7 +58,7 @@ discard block |
|
|
block discarded – undo |
|
58
|
58
|
$this->handler = new \Redis; |
|
59
|
59
|
|
|
60
|
60
|
if ($this->options['persistent']) { |
|
61
|
|
- $this->handler->pconnect($this->options['host'], (int) $this->options['port'], (int) $this->options['timeout'], 'persistent_id_' . $this->options['select']); |
|
|
61
|
+ $this->handler->pconnect($this->options['host'], (int) $this->options['port'], (int) $this->options['timeout'], 'persistent_id_'.$this->options['select']); |
|
62
|
62
|
} else { |
|
63
|
63
|
$this->handler->connect($this->options['host'], (int) $this->options['port'], (int) $this->options['timeout']); |
|
64
|
64
|
} |
Please login to merge, or discard this patch.