@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace IrishDan\NotificationBundle\Channel; |
| 4 | 4 | |
| 5 | -use IrishDan\NotificationBundle\Message\BaseMessage; |
|
| 6 | 5 | use IrishDan\NotificationBundle\Message\MessageInterface; |
| 7 | 6 | use IrishDan\NotificationBundle\Notification\NotificationInterface; |
| 8 | 7 | use IrishDan\NotificationBundle\Formatter\MessageFormatterInterface; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace IrishDan\NotificationBundle\Dispatcher; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | -use IrishDan\NotificationBundle\Message\BaseMessage; |
|
| 7 | 6 | use IrishDan\NotificationBundle\Message\MessageInterface; |
| 8 | 7 | use Symfony\Component\PropertyAccess\PropertyAccess; |
| 9 | 8 | |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace IrishDan\NotificationBundle\Dispatcher; |
| 4 | 4 | |
| 5 | -use IrishDan\NotificationBundle\Message\BaseMessage; |
|
| 6 | 5 | use IrishDan\NotificationBundle\Message\MessageInterface; |
| 7 | 6 | |
| 8 | 7 | class MailMessageDispatcher implements MessageDispatcherInterface |
@@ -22,8 +22,8 @@ |
||
| 22 | 22 | |
| 23 | 23 | |
| 24 | 24 | $mail = \Swift_Message::newInstance() |
| 25 | - ->setSubject($message->getSubject()) |
|
| 26 | - ->setBody($message->getBody()); |
|
| 25 | + ->setSubject($message->getSubject()) |
|
| 26 | + ->setBody($message->getBody()); |
|
| 27 | 27 | |
| 28 | 28 | $mail->setFrom($message->getFrom()); |
| 29 | 29 | $mail->setTo($message->getTo()); |