@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | /** |
| 108 | 108 | * Get the date at which this message was created. |
| 109 | 109 | * |
| 110 | - * @return int |
|
| 110 | + * @return string |
|
| 111 | 111 | */ |
| 112 | 112 | public function getDate() |
| 113 | 113 | { |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | * If $name is passed and the first parameter is a string, this name will be |
| 200 | 200 | * associated with the address. |
| 201 | 201 | * |
| 202 | - * @param string|array $addresses |
|
| 202 | + * @param string $addresses |
|
| 203 | 203 | * @param string $name optional |
| 204 | 204 | * |
| 205 | 205 | * @return Swift_Mime_SimpleMessage |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | /** |
| 221 | 221 | * Get the from address of this message. |
| 222 | 222 | * |
| 223 | - * @return mixed |
|
| 223 | + * @return string |
|
| 224 | 224 | */ |
| 225 | 225 | public function getFrom() |
| 226 | 226 | { |
@@ -253,7 +253,7 @@ discard block |
||
| 253 | 253 | * If $name is passed and the first parameter is a string, this name will be |
| 254 | 254 | * associated with the address. |
| 255 | 255 | * |
| 256 | - * @param mixed $addresses |
|
| 256 | + * @param string $addresses |
|
| 257 | 257 | * @param string $name optional |
| 258 | 258 | * |
| 259 | 259 | * @return Swift_Mime_SimpleMessage |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | * If $name is passed and the first parameter is a string, this name will be |
| 309 | 309 | * associated with the address. |
| 310 | 310 | * |
| 311 | - * @param mixed $addresses |
|
| 311 | + * @param string $addresses |
|
| 312 | 312 | * @param string $name optional |
| 313 | 313 | * |
| 314 | 314 | * @return Swift_Mime_SimpleMessage |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | /** |
| 330 | 330 | * Get the To addresses of this message. |
| 331 | 331 | * |
| 332 | - * @return array |
|
| 332 | + * @return string |
|
| 333 | 333 | */ |
| 334 | 334 | public function getTo() |
| 335 | 335 | { |
@@ -360,7 +360,7 @@ discard block |
||
| 360 | 360 | * If $name is passed and the first parameter is a string, this name will be |
| 361 | 361 | * associated with the address. |
| 362 | 362 | * |
| 363 | - * @param mixed $addresses |
|
| 363 | + * @param string $addresses |
|
| 364 | 364 | * @param string $name optional |
| 365 | 365 | * |
| 366 | 366 | * @return Swift_Mime_SimpleMessage |
@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | /** |
| 382 | 382 | * Get the Cc address of this message. |
| 383 | 383 | * |
| 384 | - * @return array |
|
| 384 | + * @return string |
|
| 385 | 385 | */ |
| 386 | 386 | public function getCc() |
| 387 | 387 | { |
@@ -412,7 +412,7 @@ discard block |
||
| 412 | 412 | * If $name is passed and the first parameter is a string, this name will be |
| 413 | 413 | * associated with the address. |
| 414 | 414 | * |
| 415 | - * @param mixed $addresses |
|
| 415 | + * @param string $addresses |
|
| 416 | 416 | * @param string $name optional |
| 417 | 417 | * |
| 418 | 418 | * @return Swift_Mime_SimpleMessage |
@@ -433,7 +433,7 @@ discard block |
||
| 433 | 433 | /** |
| 434 | 434 | * Get the Bcc addresses of this message. |
| 435 | 435 | * |
| 436 | - * @return array |
|
| 436 | + * @return string |
|
| 437 | 437 | */ |
| 438 | 438 | public function getBcc() |
| 439 | 439 | { |
@@ -435,6 +435,9 @@ |
||
| 435 | 435 | |
| 436 | 436 | /* Private helpers */ |
| 437 | 437 | |
| 438 | + /** |
|
| 439 | + * @param string $header |
|
| 440 | + */ |
|
| 438 | 441 | protected function _addHeader($header) |
| 439 | 442 | { |
| 440 | 443 | switch ($this->_canon) { |
@@ -435,6 +435,9 @@ |
||
| 435 | 435 | |
| 436 | 436 | /* Private helpers */ |
| 437 | 437 | |
| 438 | + /** |
|
| 439 | + * @param string $header |
|
| 440 | + */ |
|
| 438 | 441 | protected function _addHeader($header) |
| 439 | 442 | { |
| 440 | 443 | switch ($this->_canon) { |
@@ -810,6 +810,9 @@ |
||
| 810 | 810 | } |
| 811 | 811 | } |
| 812 | 812 | |
| 813 | + /** |
|
| 814 | + * @param integer $level |
|
| 815 | + */ |
|
| 813 | 816 | private function _setNestingLevel($level) |
| 814 | 817 | { |
| 815 | 818 | $this->_nestingLevel = $level; |
@@ -286,10 +286,10 @@ |
||
| 286 | 286 | /** |
| 287 | 287 | * Return php mail extra params to use for invoker->mail. |
| 288 | 288 | * |
| 289 | - * @param $extraParams |
|
| 289 | + * @param string $extraParams |
|
| 290 | 290 | * @param $reversePath |
| 291 | 291 | * |
| 292 | - * @return mixed string|null |
|
| 292 | + * @return string|null string|null |
|
| 293 | 293 | */ |
| 294 | 294 | private function _formatExtraParams($extraParams, $reversePath) |
| 295 | 295 | { |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | * |
| 71 | 71 | * This method returns a UNIX timestamp. |
| 72 | 72 | * |
| 73 | - * @return mixed |
|
| 73 | + * @return integer|null |
|
| 74 | 74 | */ |
| 75 | 75 | public function getFieldBodyModel() |
| 76 | 76 | { |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | * Get the model for the field body. |
| 73 | 73 | * This method returns a string email address. |
| 74 | 74 | * |
| 75 | - * @return mixed |
|
| 75 | + * @return string |
|
| 76 | 76 | */ |
| 77 | 77 | public function getFieldBodyModel() |
| 78 | 78 | { |
@@ -202,7 +202,7 @@ |
||
| 202 | 202 | * |
| 203 | 203 | * @see getNameAddresses() |
| 204 | 204 | * |
| 205 | - * @return string[] |
|
| 205 | + * @return integer[] |
|
| 206 | 206 | */ |
| 207 | 207 | public function getAddresses() |
| 208 | 208 | { |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | /** |
| 214 | 214 | * Set the nesting level of this entity |
| 215 | 215 | * |
| 216 | - * @param $level |
|
| 216 | + * @param integer $level |
|
| 217 | 217 | */ |
| 218 | 218 | protected function _setNestingLevel($level) |
| 219 | 219 | { |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | /** |
| 224 | 224 | * Encode charset |
| 225 | 225 | * |
| 226 | - * @param $string |
|
| 226 | + * @param string $string |
|
| 227 | 227 | * |
| 228 | 228 | * @return string |
| 229 | 229 | */ |