From 63344e6baa12f4f91c8f228fc4d0cb3366e53834 Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Wed, 9 Oct 2019 09:11:23 +0200 Subject: [PATCH] Standards cleanup --- src/PHPMailer.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/PHPMailer.php b/src/PHPMailer.php index b4f6531e..a5752bc3 100644 --- a/src/PHPMailer.php +++ b/src/PHPMailer.php @@ -1172,7 +1172,7 @@ class PHPMailer $list = imap_rfc822_parse_adrlist($addrstr, ''); foreach ($list as $address) { if (('.SYNTAX-ERROR.' !== $address->host) && static::validateAddress( - $address->mailbox.'@'.$address->host + $address->mailbox . '@' . $address->host )) { $addresses[] = [ 'name' => (property_exists($address, 'personal') ? $address->personal : ''), @@ -3000,8 +3000,9 @@ class PHPMailer * @param string $disposition_type * @param string $boundary * - * @return string * @throws Exception + * + * @return string */ protected function attachAll($disposition_type, $boundary) { @@ -3967,8 +3968,8 @@ class PHPMailer * or your own custom converter @return string $message The transformed message Body * * @throws Exception - * @see PHPMailer::html2text() * + * @see PHPMailer::html2text() */ public function msgHTML($message, $basedir = '', $advanced = false) { @@ -4524,8 +4525,9 @@ class PHPMailer * @param string $subject Subject * @param string $body Body * - * @return string * @throws Exception + * + * @return string */ public function DKIM_Add($headers_line, $subject, $body) {