@@ -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 | |
@@ -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 | |
@@ -162,7 +162,7 @@ |
||
| 162 | 162 | |
| 163 | 163 | /** |
| 164 | 164 | * @param MessageInterface $message |
| 165 | - * @return MultiPart |
|
| 165 | + * @return MultiPartInterface |
|
| 166 | 166 | */ |
| 167 | 167 | public static function fromMessage(MessageInterface $message): self |
| 168 | 168 | { |