@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | - * @return Address|Address[] |
|
97 | + * @return Address[] |
|
98 | 98 | */ |
99 | 99 | public function getTo() |
100 | 100 | { |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | * |
178 | 178 | * In particular, the "Sender" field *must* be present if it is *not* the same as the "From" Field. |
179 | 179 | * |
180 | - * @param Address|null $sender |
|
180 | + * @param Address $sender |
|
181 | 181 | */ |
182 | 182 | public function setSender(Address $sender) |
183 | 183 | { |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | } |
186 | 186 | |
187 | 187 | /** |
188 | - * @return Address|Address[] |
|
188 | + * @return Address[] |
|
189 | 189 | */ |
190 | 190 | public function getCC() |
191 | 191 | { |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | } |
212 | 212 | |
213 | 213 | /** |
214 | - * @return Address|Address[] |
|
214 | + * @return Address[] |
|
215 | 215 | */ |
216 | 216 | public function getBCC() |
217 | 217 | { |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | } |
244 | 244 | |
245 | 245 | /** |
246 | - * @return Address|Address[] |
|
246 | + * @return Address[] |
|
247 | 247 | */ |
248 | 248 | public function getReplyTo() |
249 | 249 | { |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | } |
292 | 292 | |
293 | 293 | /** |
294 | - * @param int|string|DateTimeInterface $date DateTime in Sender's timezone (or a UNIX integer timestamp; |
|
294 | + * @param integer $date DateTime in Sender's timezone (or a UNIX integer timestamp; |
|
295 | 295 | * or a string that is compatible with the strtotime() function) |
296 | 296 | */ |
297 | 297 | public function setDate($date) |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Kodus\Mail; |
4 | 4 | |
5 | -use DateTimeImmutable; |
|
6 | -use DateTimeInterface; |
|
5 | +use DateTimeImmutable; |
|
6 | +use DateTimeInterface; |
|
7 | 7 | use InvalidArgumentException; |
8 | 8 | |
9 | 9 | /** |