@@ -854,7 +854,7 @@ |
||
| 854 | 854 | } |
| 855 | 855 | |
| 856 | 856 | /** |
| 857 | - * @return mixed |
|
| 857 | + * @return integer |
|
| 858 | 858 | */ |
| 859 | 859 | public function getId() |
| 860 | 860 | { |
@@ -432,6 +432,9 @@ |
||
| 432 | 432 | } |
| 433 | 433 | |
| 434 | 434 | |
| 435 | + /** |
|
| 436 | + * @param integer $id |
|
| 437 | + */ |
|
| 435 | 438 | public function addChannel($id, Channel $channel) |
| 436 | 439 | { |
| 437 | 440 | $this->channels[$id] = $channel; |
@@ -14,6 +14,7 @@ |
||
| 14 | 14 | /** |
| 15 | 15 | * @param OutgoingFrame $frame |
| 16 | 16 | * @param callable|null $callback |
| 17 | + * @return boolean |
|
| 17 | 18 | */ |
| 18 | 19 | public function command(OutgoingFrame $frame, callable $callback = null); |
| 19 | 20 | } |
@@ -167,7 +167,7 @@ |
||
| 167 | 167 | |
| 168 | 168 | /** |
| 169 | 169 | * Parse an AMQP byte-array value. |
| 170 | - * @return array |
|
| 170 | + * @return string |
|
| 171 | 171 | */ |
| 172 | 172 | private function parseByteArray() |
| 173 | 173 | { |