@@ -320,8 +320,8 @@ discard block |
||
| 320 | 320 | /** |
| 321 | 321 | * Set the color to use for the attachment. |
| 322 | 322 | * |
| 323 | - * @param string $colour |
|
| 324 | - * @return void |
|
| 323 | + * @param string $color |
|
| 324 | + * @return Attachment |
|
| 325 | 325 | */ |
| 326 | 326 | public function setColor($color) |
| 327 | 327 | { |
@@ -344,7 +344,7 @@ discard block |
||
| 344 | 344 | * Set the footer text to use for the attachment. |
| 345 | 345 | * |
| 346 | 346 | * @param string $footer |
| 347 | - * @return void |
|
| 347 | + * @return Attachment |
|
| 348 | 348 | */ |
| 349 | 349 | public function setFooter($footer) |
| 350 | 350 | { |
@@ -367,7 +367,7 @@ discard block |
||
| 367 | 367 | * Set the footer icon to use for the attachment. |
| 368 | 368 | * |
| 369 | 369 | * @param string $footerIcon |
| 370 | - * @return void |
|
| 370 | + * @return Attachment |
|
| 371 | 371 | */ |
| 372 | 372 | public function setFooterIcon($footerIcon) |
| 373 | 373 | { |
@@ -390,7 +390,7 @@ discard block |
||
| 390 | 390 | * Set the timestamp to use for the attachment. |
| 391 | 391 | * |
| 392 | 392 | * @param integer $ts |
| 393 | - * @return void |
|
| 393 | + * @return Attachment |
|
| 394 | 394 | */ |
| 395 | 395 | public function setTs($ts) |
| 396 | 396 | { |
@@ -413,7 +413,7 @@ discard block |
||
| 413 | 413 | * Set the title to use for the attachment. |
| 414 | 414 | * |
| 415 | 415 | * @param string $title |
| 416 | - * @return void |
|
| 416 | + * @return Attachment |
|
| 417 | 417 | */ |
| 418 | 418 | public function setTitle($title) |
| 419 | 419 | { |
@@ -436,7 +436,7 @@ discard block |
||
| 436 | 436 | * Set the title link to use for the attachment. |
| 437 | 437 | * |
| 438 | 438 | * @param string $title_link |
| 439 | - * @return void |
|
| 439 | + * @return Attachment |
|
| 440 | 440 | */ |
| 441 | 441 | public function setTitleLink($title_link) |
| 442 | 442 | { |
@@ -459,7 +459,7 @@ discard block |
||
| 459 | 459 | * Set the author name to use for the attachment. |
| 460 | 460 | * |
| 461 | 461 | * @param string $author_name |
| 462 | - * @return void |
|
| 462 | + * @return Attachment |
|
| 463 | 463 | */ |
| 464 | 464 | public function setAuthorName($author_name) |
| 465 | 465 | { |
@@ -482,7 +482,7 @@ discard block |
||
| 482 | 482 | * Set the auhtor link to use for the attachment. |
| 483 | 483 | * |
| 484 | 484 | * @param string $author_link |
| 485 | - * @return void |
|
| 485 | + * @return Attachment |
|
| 486 | 486 | */ |
| 487 | 487 | public function setAuthorLink($author_link) |
| 488 | 488 | { |
@@ -505,7 +505,7 @@ discard block |
||
| 505 | 505 | * Set the author icon to use for the attachment. |
| 506 | 506 | * |
| 507 | 507 | * @param string $author_icon |
| 508 | - * @return void |
|
| 508 | + * @return Attachment |
|
| 509 | 509 | */ |
| 510 | 510 | public function setAuthorIcon($author_icon) |
| 511 | 511 | { |
@@ -528,7 +528,7 @@ discard block |
||
| 528 | 528 | * Set the fields for the attachment. |
| 529 | 529 | * |
| 530 | 530 | * @param array $fields |
| 531 | - * @return void |
|
| 531 | + * @return Attachment |
|
| 532 | 532 | */ |
| 533 | 533 | public function setFields(array $fields) |
| 534 | 534 | { |