From e88693a47371e245ece2d8f36acac974a3bc2fe3 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sun, 25 Aug 2024 20:39:22 +0200 Subject: [PATCH] style: update codestyle for coding-standard 1.2.3 Signed-off-by: Daniel Kesselberg --- lib/public/Mail/Provider/IMessage.php | 18 +++++++++--------- lib/public/Mail/Provider/Message.php | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/lib/public/Mail/Provider/IMessage.php b/lib/public/Mail/Provider/IMessage.php index d4f03b24d0d..2ad3b422b9d 100644 --- a/lib/public/Mail/Provider/IMessage.php +++ b/lib/public/Mail/Provider/IMessage.php @@ -43,7 +43,7 @@ interface IMessage { * * @since 30.0.0 * - * @return IAddress|null sender's mail address object + * @return IAddress|null sender's mail address object */ public function getFrom(): IAddress|null; @@ -63,7 +63,7 @@ interface IMessage { * * @since 30.0.0 * - * @return IAddress|null sender's reply to mail address object + * @return IAddress|null sender's reply to mail address object */ public function getReplyTo(): IAddress|null; @@ -83,7 +83,7 @@ interface IMessage { * * @since 30.0.0 * - * @return array collection of all recipient mail address objects + * @return array collection of all recipient mail address objects */ public function getTo(): array; @@ -103,7 +103,7 @@ interface IMessage { * * @since 30.0.0 * - * @return array collection of all copied recipient mail address objects + * @return array collection of all copied recipient mail address objects */ public function getCc(): array; @@ -123,7 +123,7 @@ interface IMessage { * * @since 30.0.0 * - * @return array collection of all blind copied recipient mail address objects + * @return array collection of all blind copied recipient mail address objects */ public function getBcc(): array; @@ -143,7 +143,7 @@ interface IMessage { * * @since 30.0.0 * - * @return string|null subject of message or null if one is not set + * @return string|null subject of message or null if one is not set */ public function getSubject(): string|null; @@ -166,7 +166,7 @@ interface IMessage { * * @since 30.0.0 * - * @return string|null html/plain body of this message or null if one is not set + * @return string|null html/plain body of this message or null if one is not set */ public function getBody(): string|null; @@ -186,7 +186,7 @@ interface IMessage { * * @since 30.0.0 * - * @return string|null html body of this message or null if one is not set + * @return string|null html body of this message or null if one is not set */ public function getBodyHtml(): string|null; @@ -206,7 +206,7 @@ interface IMessage { * * @since 30.0.0 * - * @return string|null plain text body of this message or null if one is not set + * @return string|null plain text body of this message or null if one is not set */ public function getBodyPlain(): string|null; diff --git a/lib/public/Mail/Provider/Message.php b/lib/public/Mail/Provider/Message.php index bfa5153f4ef..7814fb849d5 100644 --- a/lib/public/Mail/Provider/Message.php +++ b/lib/public/Mail/Provider/Message.php @@ -63,7 +63,7 @@ class Message implements \OCP\Mail\Provider\IMessage { * * @since 30.0.0 * - * @return IAddress|null sender's mail address object + * @return IAddress|null sender's mail address object */ public function getFrom(): IAddress|null { // evaluate if data store field exists and return value(s) or null otherwise @@ -91,7 +91,7 @@ class Message implements \OCP\Mail\Provider\IMessage { * * @since 30.0.0 * - * @return IAddress|null sender's reply to mail address object + * @return IAddress|null sender's reply to mail address object */ public function getReplyTo(): IAddress|null { // evaluate if data store field exists and return value(s) or null otherwise @@ -119,7 +119,7 @@ class Message implements \OCP\Mail\Provider\IMessage { * * @since 30.0.0 * - * @return array collection of all recipient mail address objects + * @return array collection of all recipient mail address objects */ public function getTo(): array { // evaluate if data store field exists and return value(s) or empty collection @@ -147,7 +147,7 @@ class Message implements \OCP\Mail\Provider\IMessage { * * @since 30.0.0 * - * @return array collection of all copied recipient mail address objects + * @return array collection of all copied recipient mail address objects */ public function getCc(): array { // evaluate if data store field exists and return value(s) or empty collection @@ -175,7 +175,7 @@ class Message implements \OCP\Mail\Provider\IMessage { * * @since 30.0.0 * - * @return array collection of all blind copied recipient mail address objects + * @return array collection of all blind copied recipient mail address objects */ public function getBcc(): array { // evaluate if data store field exists and return value(s) or empty collection @@ -203,7 +203,7 @@ class Message implements \OCP\Mail\Provider\IMessage { * * @since 30.0.0 * - * @return string|null subject of message or null if one is not set + * @return string|null subject of message or null if one is not set */ public function getSubject(): string|null { // evaluate if data store field exists and return value(s) or null otherwise @@ -238,7 +238,7 @@ class Message implements \OCP\Mail\Provider\IMessage { * * @since 30.0.0 * - * @return string|null html/plain body of this message or null if one is not set + * @return string|null html/plain body of this message or null if one is not set */ public function getBody(): string|null { // evaluate if data store field(s) exists and return value @@ -272,7 +272,7 @@ class Message implements \OCP\Mail\Provider\IMessage { * * @since 30.0.0 * - * @return string|null html body of this message or null if one is not set + * @return string|null html body of this message or null if one is not set */ public function getBodyHtml(): string|null { // evaluate if data store field exists and return value(s) or null otherwise @@ -300,7 +300,7 @@ class Message implements \OCP\Mail\Provider\IMessage { * * @since 30.0.0 * - * @return string|null plain text body of this message or null if one is not set + * @return string|null plain text body of this message or null if one is not set */ public function getBodyPlain(): string|null { // evaluate if data store field exists and return value(s) or null otherwise -- 2.39.5