@@ -750,7 +750,7 @@ discard block |
||
750 | 750 | /** |
751 | 751 | * Send the email to all recipients |
752 | 752 | * |
753 | - * @return boolean Success / Failure. |
|
753 | + * @return boolean|null Success / Failure. |
|
754 | 754 | * @todo Implement methods and property for toggling rich-text vs. plain-text |
755 | 755 | * emails (`$mail->isHTML(true)`). |
756 | 756 | */ |
@@ -887,7 +887,7 @@ discard block |
||
887 | 887 | * Log the send event for each recipient. |
888 | 888 | * |
889 | 889 | * @param boolean $result Success or failure. |
890 | - * @param mixed $mailer The raw mailer. |
|
890 | + * @param PHPMailer $mailer The raw mailer. |
|
891 | 891 | * @return void |
892 | 892 | */ |
893 | 893 | protected function logSend($result, $mailer) |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | /** |
127 | 127 | * Set the recipient's email address. |
128 | 128 | * |
129 | - * @param string|array $email An email address. |
|
129 | + * @param string $email An email address. |
|
130 | 130 | * @throws InvalidArgumentException If the email address is invalid. |
131 | 131 | * @return EmailQueueItem Chainable |
132 | 132 | */ |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | /** |
161 | 161 | * Set the sender's email address. |
162 | 162 | * |
163 | - * @param string|array $email An email address. |
|
163 | + * @param string $email An email address. |
|
164 | 164 | * @throws InvalidArgumentException If the email address is invalid. |
165 | 165 | * @return EmailQueueItem Chainable |
166 | 166 | */ |
@@ -319,7 +319,7 @@ discard block |
||
319 | 319 | * @param callable $callback An optional callback routine executed after the item is processed. |
320 | 320 | * @param callable $successCallback An optional callback routine executed when the item is resolved. |
321 | 321 | * @param callable $failureCallback An optional callback routine executed when the item is rejected. |
322 | - * @return boolean Success / Failure |
|
322 | + * @return null|boolean Success / Failure |
|
323 | 323 | */ |
324 | 324 | public function process( |
325 | 325 | callable $callback = null, |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * Set the queue's ID. |
97 | 97 | * |
98 | 98 | * @param mixed $id The unique queue identifier. |
99 | - * @return QueueItemInterface Chainable |
|
99 | + * @return QueueItemTrait Chainable |
|
100 | 100 | */ |
101 | 101 | public function setQueueId($id) |
102 | 102 | { |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | * Set the item's processed status. |
120 | 120 | * |
121 | 121 | * @param boolean $processed Whether the item has been processed. |
122 | - * @return QueueItemInterface Chainable |
|
122 | + * @return QueueItemTrait Chainable |
|
123 | 123 | */ |
124 | 124 | public function setProcessed($processed) |
125 | 125 | { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | * |
143 | 143 | * @param null|string|DateTimeInterface $ts A date/time string or object. |
144 | 144 | * @throws InvalidArgumentException If the date/time is invalid. |
145 | - * @return QueueItemInterface Chainable |
|
145 | + * @return QueueItemTrait Chainable |
|
146 | 146 | */ |
147 | 147 | public function setQueuedDate($ts) |
148 | 148 | { |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | * |
188 | 188 | * @param null|string|DateTimeInterface $ts A date/time string or object. |
189 | 189 | * @throws InvalidArgumentException If the date/time is invalid. |
190 | - * @return QueueItemInterface Chainable |
|
190 | + * @return QueueItemTrait Chainable |
|
191 | 191 | */ |
192 | 192 | public function setProcessingDate($ts) |
193 | 193 | { |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | * |
233 | 233 | * @param null|string|DateTimeInterface $ts A date/time string or object. |
234 | 234 | * @throws InvalidArgumentException If the date/time is invalid. |
235 | - * @return QueueItemInterface Chainable |
|
235 | + * @return QueueItemTrait Chainable |
|
236 | 236 | */ |
237 | 237 | public function setProcessedDate($ts) |
238 | 238 | { |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | * |
278 | 278 | * Presets the item as _to-be_ processed and queued now. |
279 | 279 | * |
280 | - * @return QueueItemInterface Chainable |
|
280 | + * @return QueueItemTrait Chainable |
|
281 | 281 | */ |
282 | 282 | public function preSaveQueueItem() |
283 | 283 | { |