@@ -113,7 +113,7 @@ |
||
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | 115 | * Reset |
| 116 | - * @return this |
|
| 116 | + * @return DeferredEvent |
|
| 117 | 117 | */ |
| 118 | 118 | public function reset() |
| 119 | 119 | { |
@@ -331,7 +331,7 @@ |
||
| 331 | 331 | |
| 332 | 332 | /** |
| 333 | 333 | * Handles the output from downstream requests |
| 334 | - * @param object $req |
|
| 334 | + * @param \stdClass $req |
|
| 335 | 335 | * @param string $appStatus |
| 336 | 336 | * @param string $protoStatus |
| 337 | 337 | * @return void |
@@ -344,6 +344,9 @@ |
||
| 344 | 344 | |
| 345 | 345 | /** |
| 346 | 346 | * End request |
| 347 | + * @param \stdClass $req |
|
| 348 | + * @param integer $appStatus |
|
| 349 | + * @param integer $protoStatus |
|
| 347 | 350 | * @return void |
| 348 | 351 | */ |
| 349 | 352 | public function endRequest($req, $appStatus, $protoStatus) |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | * Called when new frame received. |
| 72 | 72 | * @param string $data Frame's data. |
| 73 | 73 | * @param string $type Frame's type ("STRING" OR "BINARY"). |
| 74 | - * @return boolean Success. |
|
| 74 | + * @return boolean|null Success. |
|
| 75 | 75 | */ |
| 76 | 76 | public function onFrame($data, $type) |
| 77 | 77 | { |
@@ -91,6 +91,7 @@ |
||
| 91 | 91 | /** |
| 92 | 92 | * Set ID of this Thread |
| 93 | 93 | * @param integer Id |
| 94 | + * @param integer $id |
|
| 94 | 95 | * @return void |
| 95 | 96 | */ |
| 96 | 97 | public function setId($id) |
@@ -371,7 +371,7 @@ |
||
| 371 | 371 | } |
| 372 | 372 | |
| 373 | 373 | /** |
| 374 | - * @param $signo |
|
| 374 | + * @param integer $signo |
|
| 375 | 375 | */ |
| 376 | 376 | public function signalToChildren($signo) |
| 377 | 377 | { |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Deferred event 'onSessionStart' |
| 58 | - * @return callable |
|
| 58 | + * @return \Closure |
|
| 59 | 59 | */ |
| 60 | 60 | public function onSessionStartEvent() |
| 61 | 61 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | 85 | * Deferred event 'onSessionRead' |
| 86 | - * @return callable |
|
| 86 | + * @return \Closure |
|
| 87 | 87 | */ |
| 88 | 88 | public function onSessionReadEvent() |
| 89 | 89 | { |
@@ -260,8 +260,8 @@ |
||
| 260 | 260 | |
| 261 | 261 | /** |
| 262 | 262 | * Override a standard PHP function |
| 263 | - * @param string $local e.g. isUploadedFile |
|
| 264 | 263 | * @param string $real e.g. is_uploaded_file |
| 264 | + * @param string $camelCase |
|
| 265 | 265 | */ |
| 266 | 266 | protected function override($camelCase, $real) |
| 267 | 267 | { |
@@ -115,8 +115,8 @@ |
||
| 115 | 115 | |
| 116 | 116 | /** |
| 117 | 117 | * Send request headers |
| 118 | - * @param $type |
|
| 119 | - * @param $url |
|
| 118 | + * @param string $type |
|
| 119 | + * @param string $url |
|
| 120 | 120 | * @param &$params |
| 121 | 121 | * @return void |
| 122 | 122 | */ |