@@ -118,7 +118,7 @@ |
||
118 | 118 | * Routes incoming request to related application |
119 | 119 | * @param object $req Generic |
120 | 120 | * @param object $upstream AppInstance of Upstream |
121 | - * @param string $default App Default application name |
|
121 | + * @param string $defaultApp App Default application name |
|
122 | 122 | * @return object Request |
123 | 123 | */ |
124 | 124 | public function getRequest($req, $upstream, $defaultApp = null) |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * __construct |
82 | 82 | * @param Application $appInstance [@todo description] |
83 | 83 | * @param string $id [@todo description] |
84 | - * @param array $server [@todo description] |
|
84 | + * @param string $server [@todo description] |
|
85 | 85 | * @return void |
86 | 86 | */ |
87 | 87 | public function __construct($appInstance, $id, $server) |
@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | |
327 | 327 | /** |
328 | 328 | * sendPacket |
329 | - * @param object $pct [@todo description] |
|
329 | + * @param string $pct [@todo description] |
|
330 | 330 | * @param callable $cb [@todo description] |
331 | 331 | * @callback $cb ( ) |
332 | 332 | * @return void |
@@ -21,7 +21,6 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * __construct |
23 | 23 | * @param Application $sockjs |
24 | - * @param object $conn |
|
25 | 24 | */ |
26 | 25 | public function __construct($sockjs, $route) |
27 | 26 | { |
@@ -76,7 +75,6 @@ discard block |
||
76 | 75 | |
77 | 76 | /** |
78 | 77 | * onPacket |
79 | - * @param string $data Frame's contents. |
|
80 | 78 | * @param integer $type Frame's type. |
81 | 79 | * @return void |
82 | 80 | */ |
@@ -227,6 +227,7 @@ discard block |
||
227 | 227 | * Parse quadro word (8 bytes) |
228 | 228 | * @param string &$p Data |
229 | 229 | * @param boolean $l Little endian? |
230 | + * @param string|false $p |
|
230 | 231 | * @return integer |
231 | 232 | */ |
232 | 233 | public static function getQword(&$p, $l = false) |
@@ -385,7 +386,7 @@ discard block |
||
385 | 386 | /** |
386 | 387 | * Convert bytes into integer |
387 | 388 | * @alias Binary::bytes2int |
388 | - * @param string $str Bytes |
|
389 | + * @param integer $str Bytes |
|
389 | 390 | * @param boolean $l Little endian? Default is false |
390 | 391 | * @return integer |
391 | 392 | */ |