@@ -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 | { |
@@ -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 | |
@@ -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 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | namespace Genkgo\Mail; |
| 5 | 5 | |
| 6 | 6 | use Genkgo\Mail\Header\Cc; |
| 7 | -use Genkgo\Mail\Header\ContentTransferEncoding; |
|
| 8 | 7 | use Genkgo\Mail\Header\ContentType; |
| 9 | 8 | use Genkgo\Mail\Header\GenericHeader; |
| 10 | 9 | use Genkgo\Mail\Header\HeaderName; |