Skip to content

Commit 280ba13

Browse files
fixed open function phpdoc
1 parent fd1572d commit 280ba13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Redis.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,10 @@ public function isConnected() {}
119119
* @param float $timeout
120120
* @param null $reserved
121121
* @param int $retry_interval
122+
* @param float $read_timeout
123+
* @return bool
122124
*/
123-
public function open( $host, $port = 6379, $timeout = 0.0, $reserved = null, $retry_interval = 0 ) {}
125+
public function open( $host, $port = 6379, $timeout = 0.0, $reserved = null, $retry_interval = 0, $read_timeout = 0.0 ) {}
124126

125127
/**
126128
* Connects to a Redis instance or reuse a connection already established with pconnect/popen.

0 commit comments

Comments
 (0)