@@ -77,8 +77,9 @@ |
||
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | 79 | * @param Message $message |
| 80 | + * @param string $status |
|
| 80 | 81 | * |
| 81 | - * @return array map where message token => replacement string |
|
| 82 | + * @return string map where message token => replacement string |
|
| 82 | 83 | */ |
| 83 | 84 | protected function getMessageTokens(Message $message, $status) |
| 84 | 85 | {
|
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Kodus\Mail; |
| 4 | 4 | |
| 5 | -use Error; |
|
| 6 | -use Exception; |
|
| 5 | +use Error; |
|
| 6 | +use Exception; |
|
| 7 | 7 | use Psr\Log\LoggerInterface; |
| 8 | 8 | |
| 9 | 9 | /** |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @return Address|Address[] |
|
| 95 | + * @return Address[] |
|
| 96 | 96 | */ |
| 97 | 97 | public function getTo() |
| 98 | 98 | {
|
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | * |
| 176 | 176 | * In particular, the "Sender" field *must* be present if it is *not* the same as the "From" Field. |
| 177 | 177 | * |
| 178 | - * @param Address|null $sender |
|
| 178 | + * @param Address $sender |
|
| 179 | 179 | */ |
| 180 | 180 | public function setSender(Address $sender) |
| 181 | 181 | {
|
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | } |
| 184 | 184 | |
| 185 | 185 | /** |
| 186 | - * @return Address|Address[] |
|
| 186 | + * @return Address[] |
|
| 187 | 187 | */ |
| 188 | 188 | public function getCC() |
| 189 | 189 | {
|
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | } |
| 210 | 210 | |
| 211 | 211 | /** |
| 212 | - * @return Address|Address[] |
|
| 212 | + * @return Address[] |
|
| 213 | 213 | */ |
| 214 | 214 | public function getBCC() |
| 215 | 215 | {
|
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | } |
| 242 | 242 | |
| 243 | 243 | /** |
| 244 | - * @return Address|Address[] |
|
| 244 | + * @return Address[] |
|
| 245 | 245 | */ |
| 246 | 246 | public function getReplyTo() |
| 247 | 247 | {
|
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | } |
| 290 | 290 | |
| 291 | 291 | /** |
| 292 | - * @param int|string $date integer timestamp, or a string compatible with the strtotime() function |
|
| 292 | + * @param integer $date integer timestamp, or a string compatible with the strtotime() function |
|
| 293 | 293 | */ |
| 294 | 294 | public function setDate($date) |
| 295 | 295 | {
|
@@ -164,7 +164,8 @@ |
||
| 164 | 164 | * Write the "Content-Type" header and the Attachment Content in base-64 encoded format |
| 165 | 165 | * |
| 166 | 166 | * @param Attachment $attachment |
| 167 | - * @param string|null Content ID (for inline Attachments) |
|
| 167 | + * @param string|null Content ID (for inline Attachments) |
|
| 168 | + * @param string $content_id |
|
| 168 | 169 | */ |
| 169 | 170 | public function writeAttachmentPart(Attachment $attachment, $content_id = null) |
| 170 | 171 | {
|
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Kodus\Mail\SMTP; |
| 4 | 4 | |
| 5 | -use Kodus\Mail\MailService; |
|
| 6 | -use Kodus\Mail\Message; |
|
| 5 | +use Kodus\Mail\MailService; |
|
| 6 | +use Kodus\Mail\Message; |
|
| 7 | 7 | use Kodus\Mail\MIMEWriter; |
| 8 | 8 | |
| 9 | 9 | /** |