@@ -49,7 +49,7 @@ |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | - * @return mixed |
|
52 | + * @return resource |
|
53 | 53 | */ |
54 | 54 | public function detach() |
55 | 55 | { |
@@ -232,7 +232,7 @@ |
||
232 | 232 | |
233 | 233 | /** |
234 | 234 | * @param MessageInterface $originalMessage |
235 | - * @param array $replyRecipientHeaderNames |
|
235 | + * @param string[] $replyRecipientHeaderNames |
|
236 | 236 | * @return MessageInterface |
237 | 237 | */ |
238 | 238 | private function newReply(MessageInterface $originalMessage, array $replyRecipientHeaderNames): MessageInterface |
@@ -8,6 +8,7 @@ discard block |
||
8 | 8 | /** |
9 | 9 | * @param string $name |
10 | 10 | * @param \Closure $callback |
11 | + * @return void |
|
11 | 12 | */ |
12 | 13 | public function addListener(string $name, \Closure $callback): void; |
13 | 14 | |
@@ -39,6 +40,7 @@ discard block |
||
39 | 40 | |
40 | 41 | /** |
41 | 42 | * @param float $timeout |
43 | + * @return void |
|
42 | 44 | */ |
43 | 45 | public function timeout(float $timeout): void; |
44 | 46 |
@@ -49,7 +49,7 @@ |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | - * @return mixed |
|
52 | + * @return resource |
|
53 | 53 | */ |
54 | 54 | public function detach() |
55 | 55 | { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | - * @return mixed |
|
52 | + * @return resource |
|
53 | 53 | */ |
54 | 54 | public function detach() |
55 | 55 | { |
@@ -10,10 +10,13 @@ |
||
10 | 10 | */ |
11 | 11 | public function __toString(): string; |
12 | 12 | |
13 | + /** |
|
14 | + * @return void |
|
15 | + */ |
|
13 | 16 | public function close(): void; |
14 | 17 | |
15 | 18 | /** |
16 | - * @return mixed |
|
19 | + * @return resource |
|
17 | 20 | */ |
18 | 21 | public function detach(); |
19 | 22 |