diff --git a/src/Mail.php b/src/Mail.php index 0091830..25327b7 100644 --- a/src/Mail.php +++ b/src/Mail.php @@ -9,11 +9,6 @@ */ interface Mail { - /** - * @return Recipient[] - */ - public function getTo(): array; - /** * @param Recipient $recipient * @@ -21,11 +16,6 @@ public function getTo(): array; */ public function addTo(Recipient $recipient): Mail; - /** - * @return Recipient[] - */ - public function getCc(): array; - /** * @param Recipient $recipient * @@ -33,11 +23,6 @@ public function getCc(): array; */ public function addCc(Recipient $recipient): Mail; - /** - * @return Recipient[] - */ - public function getBcc(): array; - /** * @param Recipient $recipient * @@ -45,11 +30,6 @@ public function getBcc(): array; */ public function addBcc(Recipient $recipient): Mail; - /** - * @return Recipient - */ - public function getFrom(): Recipient; - /** * @param Recipient $recipient * @@ -57,11 +37,6 @@ public function getFrom(): Recipient; */ public function setFrom(Recipient $recipient): Mail; - /** - * @return Recipient - */ - public function getReplyTo(): Recipient; - /** * @param Recipient $recipient * @@ -69,11 +44,6 @@ public function getReplyTo(): Recipient; */ public function setReplyTo(Recipient $recipient): Mail; - /** - * @return string - */ - public function getSubject(): string; - /** * @param string $subject * @@ -81,11 +51,6 @@ public function getSubject(): string; */ public function setSubject(string $subject): Mail; - /** - * @return Attachment[] - */ - public function getAttachments(): array; - /** * @param Attachment $attachment * @@ -93,11 +58,6 @@ public function getAttachments(): array; */ public function addAttachment(Attachment $attachment): Mail; - /** - * @return string - */ - public function getMessage(): string; - /** * @param string $message *