Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8d80ca5

Browse files
ejuhjavmichael-grunder
authored andcommitted
Update README.markdown
Small fix to couple parameter formatting in the readme file - making sure that all the parameter definitions start from new line for these two functions (previously the port parameter didn't start from it's own new line).
1 parent 4d8afd3 commit 8d80ca5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.markdown

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,13 @@ _**Description**_: Connects to a Redis instance.
221221

222222
##### *Parameters*
223223

224-
*host*: string. can be a host, or the path to a unix domain socket. Starting from version 5.0.0 it is possible to specify schema
224+
*host*: string. can be a host, or the path to a unix domain socket. Starting from version 5.0.0 it is possible to specify schema
225225
*port*: int, optional
226-
*timeout*: float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout)
226+
*timeout*: float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout)
227227
*reserved*: should be '' if retry_interval is specified
228228
*retry_interval*: int, value in milliseconds (optional)
229-
*read_timeout*: float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout)
230-
*others*: array, with PhpRedis >= 5.3.0, it allows setting _auth_ and [_stream_](https://www.php.net/manual/en/context.ssl.php) configuration.
229+
*read_timeout*: float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout)
230+
*others*: array, with PhpRedis >= 5.3.0, it allows setting _auth_ and [_stream_](https://www.php.net/manual/en/context.ssl.php) configuration.
231231

232232
##### *Return value*
233233

@@ -269,12 +269,12 @@ persistent equivalents.
269269

270270
##### *Parameters*
271271

272-
*host*: string. can be a host, or the path to a unix domain socket. Starting from version 5.0.0 it is possible to specify schema
272+
*host*: string. can be a host, or the path to a unix domain socket. Starting from version 5.0.0 it is possible to specify schema
273273
*port*: int, optional
274-
*timeout*: float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout)
274+
*timeout*: float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout)
275275
*persistent_id*: string. identity for the requested persistent connection
276276
*retry_interval*: int, value in milliseconds (optional)
277-
*read_timeout*: float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout)
277+
*read_timeout*: float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout)
278278

279279
##### *Return value*
280280

0 commit comments

Comments
 (0)