Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit 8cbef9a

Browse files
committed
Fixed lint styles and comments
1 parent 3793581 commit 8cbef9a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/Connection.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,10 @@ private function receive($len = null)
146146
/**
147147
* Returns an stream socket to the desired server.
148148
*
149-
* @param string $address Server url string.
150-
*
151-
* @param null $timeout
149+
* @param string $address Server url string.
150+
* @param integer $timeout Number of seconds until the connect() system call should timeout.
152151
* @return resource
153-
* @throws \Exception
152+
* @throws \Exception Exception raised if connection fails.
154153
*/
155154
private function getStream($address, $timeout = null)
156155
{
@@ -178,8 +177,9 @@ public function isConnected()
178177
/**
179178
* Connect to server.
180179
*
181-
* @param null $timeout
182-
* @throws \Exception
180+
* @param integer $timeout Number of seconds until the connect() system call should timeout.
181+
* @throws \Exception Exception raised if connection fails.
182+
* @return void
183183
*/
184184
public function connect($timeout = null)
185185
{

0 commit comments

Comments
 (0)