@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * get or set name |
| 122 | 122 | * |
| 123 | 123 | * @param string|null $name |
| 124 | - * @return mixed |
|
| 124 | + * @return null|string |
|
| 125 | 125 | */ |
| 126 | 126 | public function name($name = null) |
| 127 | 127 | { |
@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | /** |
| 301 | 301 | * kill self |
| 302 | 302 | * |
| 303 | - * @param bool|true $block |
|
| 303 | + * @param boolean $block |
|
| 304 | 304 | * @param int $signal |
| 305 | 305 | */ |
| 306 | 306 | public function shutdown($block = true, $signal = SIGTERM) |
@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | /** |
| 323 | 323 | * waiting for the sub process exit |
| 324 | 324 | * |
| 325 | - * @param bool|true $block if block the process |
|
| 325 | + * @param boolean $block if block the process |
|
| 326 | 326 | * @param int $sleep default 0.1s check sub process status |
| 327 | 327 | * every $sleep milliseconds. |
| 328 | 328 | */ |