Browse Source

Fixes #3793: Changed inline autocomplete hints style to get more IDEs support

tags/2.0.0-rc
Alexander Makarov 11 years ago
parent
commit
cc6d73eb04
  1. 2
      Mailer.php
  2. 2
      Message.php

2
Mailer.php

@ -162,7 +162,7 @@ class Mailer extends BaseMailer
$plugins = $config['plugins'];
unset($config['plugins']);
}
/** @var \Swift_MailTransport $transport */
/* @var $transport \Swift_MailTransport */
$transport = $this->createSwiftObject($config);
if (isset($plugins)) {
foreach ($plugins as $plugin) {

2
Message.php

@ -204,7 +204,7 @@ class Message extends BaseMessage
$partFound = false;
foreach ($parts as $key => $part) {
if (!($part instanceof \Swift_Mime_Attachment)) {
/* @var \Swift_Mime_MimePart $part */
/* @var $part \Swift_Mime_MimePart */
if ($part->getContentType() == $contentType) {
$charset = $part->getCharset();
unset($parts[$key]);

Loading…
Cancel
Save