From 86e8ae40dee9ff3b0d2483f15179eab4578acc32 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 19 Apr 2020 10:39:21 +0200 Subject: [PATCH] phpcs fixes --- Message/Mail/Mail.php | 59 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 50 insertions(+), 9 deletions(-) diff --git a/Message/Mail/Mail.php b/Message/Mail/Mail.php index a8cfd44e5..8202a2680 100644 --- a/Message/Mail/Mail.php +++ b/Message/Mail/Mail.php @@ -444,23 +444,42 @@ class Mail return true; } + /** + * Add string attachment + * + * @return bool + * + * @since 1.0.0 + */ public function addStringAttachment() : bool { - + return true; } + /** + * Add inline image + * + * @return bool + * + * @since 1.0.0 + */ public function addEmbeddedImage() : bool { - + return true; } + /** + * Add inline image attachment + * + * @return bool + * + * @since 1.0.0 + */ public function addStringEmbeddedImage() : bool { - + return true; } - - /** * The email should be confirmed by the receivers * @@ -775,18 +794,30 @@ class Mail return $output; } + /** + * Create html message + * + * @return void + * + * @since 1.0.0 + */ public function createHtmlMsg() : void { } + /** + * Convert html to text message + * + * @return string + * + * @since 1.0.0 + */ private function htmlToText() : string { - + return ''; } - - /** * Normalize text * @@ -1205,8 +1236,18 @@ class Mail return \substr($encoded, 0, -\strlen($lb)); } + /** + * Quoted encode + * + * @param string $text Text to encode + * @param int $context Value context + * + * @return string + * + * @since 1.0.0 + */ private function encodeQ(string $text, int $context = HeaderContext::TEXT) : string { - + return ''; } }