mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 14:58:42 +00:00
phpcs fixes
This commit is contained in:
parent
308261b2be
commit
86e8ae40de
|
|
@ -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 '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user