phpcs fixes

This commit is contained in:
Dennis Eichhorn 2020-04-19 10:39:21 +02:00
parent 308261b2be
commit 86e8ae40de

View File

@ -444,23 +444,42 @@ class Mail
return true; return true;
} }
/**
* Add string attachment
*
* @return bool
*
* @since 1.0.0
*/
public function addStringAttachment() : bool public function addStringAttachment() : bool
{ {
return true;
} }
/**
* Add inline image
*
* @return bool
*
* @since 1.0.0
*/
public function addEmbeddedImage() : bool public function addEmbeddedImage() : bool
{ {
return true;
} }
/**
* Add inline image attachment
*
* @return bool
*
* @since 1.0.0
*/
public function addStringEmbeddedImage() : bool public function addStringEmbeddedImage() : bool
{ {
return true;
} }
/** /**
* The email should be confirmed by the receivers * The email should be confirmed by the receivers
* *
@ -775,18 +794,30 @@ class Mail
return $output; return $output;
} }
/**
* Create html message
*
* @return void
*
* @since 1.0.0
*/
public function createHtmlMsg() : void public function createHtmlMsg() : void
{ {
} }
/**
* Convert html to text message
*
* @return string
*
* @since 1.0.0
*/
private function htmlToText() : string private function htmlToText() : string
{ {
return '';
} }
/** /**
* Normalize text * Normalize text
* *
@ -1205,8 +1236,18 @@ class Mail
return \substr($encoded, 0, -\strlen($lb)); 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 private function encodeQ(string $text, int $context = HeaderContext::TEXT) : string
{ {
return '';
} }
} }