Add the @return types

This commit is contained in:
2022-07-27 10:26:43 +02:00
parent 89e26be943
commit ed8449d321
13 changed files with 30 additions and 31 deletions
+2 -2
View File
@@ -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)
// {{{