Skip to content

Commit 712aa36

Browse files
committed
refactor: move () positions
1 parent 6da3ea8 commit 712aa36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Session/Handlers/RedisHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function open($path, $name): bool
127127
if (
128128
! $redis->connect(
129129
$this->savePath['protocol'] . '://' . $this->savePath['host'],
130-
($this->savePath['host'][0] === '/' ? 0 : (int) $this->savePath['port']),
130+
($this->savePath['host'][0] === '/') ? 0 : (int) $this->savePath['port'],
131131
$this->savePath['timeout']
132132
)
133133
) {

0 commit comments

Comments
 (0)