aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Mail/Provider/IMessage.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Mail/Provider/IMessage.php')
-rw-r--r--lib/public/Mail/Provider/IMessage.php58
1 files changed, 29 insertions, 29 deletions
diff --git a/lib/public/Mail/Provider/IMessage.php b/lib/public/Mail/Provider/IMessage.php
index 625c8a33556..d4f03b24d0d 100644
--- a/lib/public/Mail/Provider/IMessage.php
+++ b/lib/public/Mail/Provider/IMessage.php
@@ -23,7 +23,7 @@ interface IMessage {
*
* @since 30.0.0
*
- * @return string id of this message
+ * @return string id of this message
*/
public function id(): string;
@@ -32,9 +32,9 @@ interface IMessage {
*
* @since 30.0.0
*
- * @param IAddress $value sender's mail address object
+ * @param IAddress $value sender's mail address object
*
- * @return self return this object for command chaining
+ * @return self return this object for command chaining
*/
public function setFrom(IAddress $value): self;
@@ -45,16 +45,16 @@ interface IMessage {
*
* @return IAddress|null sender's mail address object
*/
- public function getFrom(): IAddress | null;
+ public function getFrom(): IAddress|null;
/**
* sets the sender's reply to address of this message
*
* @since 30.0.0
*
- * @param IAddress $value senders's reply to mail address object
+ * @param IAddress $value senders's reply to mail address object
*
- * @return self return this object for command chaining
+ * @return self return this object for command chaining
*/
public function setReplyTo(IAddress $value): self;
@@ -65,16 +65,16 @@ interface IMessage {
*
* @return IAddress|null sender's reply to mail address object
*/
- public function getReplyTo(): IAddress | null;
+ public function getReplyTo(): IAddress|null;
/**
* sets the recipient(s) of this message
*
* @since 30.0.0
*
- * @param IAddress ...$value collection of or one or more mail address objects
+ * @param IAddress ...$value collection of or one or more mail address objects
*
- * @return self return this object for command chaining
+ * @return self return this object for command chaining
*/
public function setTo(IAddress ...$value): self;
@@ -92,9 +92,9 @@ interface IMessage {
*
* @since 30.0.0
*
- * @param IAddress ...$value collection of or one or more mail address objects
+ * @param IAddress ...$value collection of or one or more mail address objects
*
- * @return self return this object for command chaining
+ * @return self return this object for command chaining
*/
public function setCc(IAddress ...$value): self;
@@ -112,9 +112,9 @@ interface IMessage {
*
* @since 30.0.0
*
- * @param IAddress ...$value collection of or one or more mail address objects
+ * @param IAddress ...$value collection of or one or more mail address objects
*
- * @return self return this object for command chaining
+ * @return self return this object for command chaining
*/
public function setBcc(IAddress ...$value): self;
@@ -132,9 +132,9 @@ interface IMessage {
*
* @since 30.0.0
*
- * @param string $value subject of mail message
+ * @param string $value subject of mail message
*
- * @return self return this object for command chaining
+ * @return self return this object for command chaining
*/
public function setSubject(string $value): self;
@@ -145,17 +145,17 @@ interface IMessage {
*
* @return string|null subject of message or null if one is not set
*/
- public function getSubject(): string | null;
+ public function getSubject(): string|null;
/**
* sets the plain text or html body of this message
*
* @since 30.0.0
*
- * @param string $value text or html body of message
- * @param bool $html html flag - true for html
+ * @param string $value text or html body of message
+ * @param bool $html html flag - true for html
*
- * @return self return this object for command chaining
+ * @return self return this object for command chaining
*/
public function setBody(string $value, bool $html): self;
@@ -168,16 +168,16 @@ interface IMessage {
*
* @return string|null html/plain body of this message or null if one is not set
*/
- public function getBody(): string | null;
+ public function getBody(): string|null;
/**
* sets the html body of this message
*
* @since 30.0.0
*
- * @param string $value html body of message
+ * @param string $value html body of message
*
- * @return self return this object for command chaining
+ * @return self return this object for command chaining
*/
public function setBodyHtml(string $value): self;
@@ -188,16 +188,16 @@ interface IMessage {
*
* @return string|null html body of this message or null if one is not set
*/
- public function getBodyHtml(): string | null;
+ public function getBodyHtml(): string|null;
/**
* sets the plain text body of this message
*
* @since 30.0.0
*
- * @param string $value plain text body of message
+ * @param string $value plain text body of message
*
- * @return self return this object for command chaining
+ * @return self return this object for command chaining
*/
public function setBodyPlain(string $value): self;
@@ -208,16 +208,16 @@ interface IMessage {
*
* @return string|null plain text body of this message or null if one is not set
*/
- public function getBodyPlain(): string | null;
+ public function getBodyPlain(): string|null;
/**
* sets the attachments of this message
*
* @since 30.0.0
*
- * @param IAttachment ...$value collection of or one or more mail attachment objects
+ * @param IAttachment ...$value collection of or one or more mail attachment objects
*
- * @return self return this object for command chaining
+ * @return self return this object for command chaining
*/
public function setAttachments(IAttachment ...$value): self;
@@ -226,7 +226,7 @@ interface IMessage {
*
* @since 30.0.0
*
- * @return array<int,IAttachment> collection of all mail attachment objects
+ * @return array<int,IAttachment> collection of all mail attachment objects
*/
public function getAttachments(): array;
}