diff --git a/sources/Core/Email/EmailLaminas.php b/sources/Core/Email/EmailLaminas.php index e06e2f5cc..c67da6760 100644 --- a/sources/Core/Email/EmailLaminas.php +++ b/sources/Core/Email/EmailLaminas.php @@ -1,29 +1,10 @@ - - /** * Send an email (abstraction for synchronous/asynchronous modes) * - * @copyright Copyright (C) 2010-2021 Combodo SARL + * @copyright Copyright (C) 2010-2022 Combodo SARL * @license http://opensource.org/licenses/AGPL-3.0 */ -@include APPROOT."/core/oauth.php"; use Combodo\iTop\Core\Authentication\Client\OAuth\OAuthClientProviderFactory; use Laminas\Mail\Header\ContentType; @@ -81,9 +62,6 @@ class EMailLaminas extends Email * @param string $sSerializedMessage The serialized representation of the message * * @return \EMail - * @throws \ArchivedObjectException - * @throws \CoreException - * @throws \Symfony\Component\CssSelector\Exception\SyntaxErrorException */ public static function UnSerializeV2($sSerializedMessage) { @@ -378,12 +356,12 @@ class EMailLaminas extends Email * * @param $sBody * @param string $sMimeType - * @param $sCustomStyles + * @param null $sCustomStyles * * @return void * @throws \ArchivedObjectException * @throws \CoreException - * @throws \Symfony\Component\CssSelector\Exception\SyntaxErrorException + * @throws \Symfony\Component\CssSelector\Exception\ParseException */ public function SetBody($sBody, $sMimeType = Mime::TYPE_HTML, $sCustomStyles = null) {