@@ -5,7 +5,6 @@ |
||
5 | 5 | use IrishDan\NotificationBundle\Message\Message; |
6 | 6 | use IrishDan\NotificationBundle\Notification\NotificationInterface; |
7 | 7 | use IrishDan\NotificationBundle\Slackable; |
8 | -use IrishDan\NotificationBundle\Textable; |
|
9 | 8 | |
10 | 9 | class SlackWebhookFormatter implements MessageFormatterInterface |
11 | 10 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | $this->channelManager = $channelManager; |
30 | 30 | } |
31 | 31 | |
32 | - public function broadcast(NotificationInterface $notificatin, array $broadcasters = null) { |
|
32 | + public function broadcast(NotificationInterface $notificatin, array $broadcasters = null) { |
|
33 | 33 | |
34 | 34 | } |
35 | 35 |
@@ -21,8 +21,8 @@ |
||
21 | 21 | |
22 | 22 | |
23 | 23 | $mail = \Swift_Message::newInstance() |
24 | - ->setSubject($messageData['subject']) |
|
25 | - ->setBody($messageData['body']); |
|
24 | + ->setSubject($messageData['subject']) |
|
25 | + ->setBody($messageData['body']); |
|
26 | 26 | |
27 | 27 | $mail->setFrom($dispatchData['from']); |
28 | 28 | $mail->setTo($dispatchData['to']); |