Add the @return types
This commit is contained in:
+2
-2
@@ -350,7 +350,7 @@ class Tcpserver
|
||||
// }}}
|
||||
|
||||
/** Start the main loop in background and do not wait its end
|
||||
* @return the PID of the child
|
||||
* @return integer the PID of the child
|
||||
*/
|
||||
final public function loopInBackgroundStart ()
|
||||
// {{{
|
||||
@@ -507,7 +507,7 @@ class Tcpserver
|
||||
* Use the readMode in text or binary (text by default)
|
||||
* In text mode, the read return when found the first \r or the first \n.
|
||||
* @param integer $maxLength Limit the length of the data from the server
|
||||
* @return The content
|
||||
* @return string The content
|
||||
*/
|
||||
final public function read ($maxLength = 1024)
|
||||
// {{{
|
||||
|
||||
Reference in New Issue
Block a user