@@ -124,7 +124,7 @@ |
||
124 | 124 | * Routes incoming request to related application |
125 | 125 | * @param object $req Generic |
126 | 126 | * @param object $upstream AppInstance of Upstream |
127 | - * @param string $default App Default application name |
|
127 | + * @param string $defaultApp App Default application name |
|
128 | 128 | * @return object Request |
129 | 129 | */ |
130 | 130 | public function getRequest($req, $upstream, $defaultApp = null) |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * __construct |
84 | 84 | * @param Application $appInstance [@todo description] |
85 | 85 | * @param string $id [@todo description] |
86 | - * @param array $server [@todo description] |
|
86 | + * @param string $server [@todo description] |
|
87 | 87 | * @return void |
88 | 88 | */ |
89 | 89 | public function __construct($appInstance, $id, $server) |
@@ -328,7 +328,7 @@ discard block |
||
328 | 328 | |
329 | 329 | /** |
330 | 330 | * sendPacket |
331 | - * @param object $pct [@todo description] |
|
331 | + * @param string $pct [@todo description] |
|
332 | 332 | * @param callable $cb [@todo description] |
333 | 333 | * @callback $cb ( ) |
334 | 334 | * @return void |
@@ -26,7 +26,6 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * __construct |
28 | 28 | * @param Application $sockjs |
29 | - * @param object $conn |
|
30 | 29 | */ |
31 | 30 | public function __construct($sockjs, $route) |
32 | 31 | { |
@@ -81,7 +80,6 @@ discard block |
||
81 | 80 | |
82 | 81 | /** |
83 | 82 | * onPacket |
84 | - * @param string $data Frame's contents. |
|
85 | 83 | * @param integer $type Frame's type. |
86 | 84 | * @return void |
87 | 85 | */ |
@@ -226,6 +226,7 @@ discard block |
||
226 | 226 | * Parse quadro word (8 bytes) |
227 | 227 | * @param string &$p Data |
228 | 228 | * @param boolean $l Little endian? |
229 | + * @param string|false $p |
|
229 | 230 | * @return integer |
230 | 231 | */ |
231 | 232 | public static function getQword(&$p, $l = false) |
@@ -382,7 +383,7 @@ discard block |
||
382 | 383 | /** |
383 | 384 | * Convert bytes into integer |
384 | 385 | * @alias Binary::bytes2int |
385 | - * @param string $str Bytes |
|
386 | + * @param integer $str Bytes |
|
386 | 387 | * @param boolean $l Little endian? Default is false |
387 | 388 | * @return integer |
388 | 389 | */ |