Completed
Push — master ( df9f00...ccd20f )
by dan
01:37
created
Channel/BaseChannel.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Dispatcher/DatabaseMessageDispatcher.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@
 block discarded – undo
38 38
         return false;
39 39
     }
40 40
 
41
+    /**
42
+     * @param MessageInterface $data
43
+     */
41 44
     protected function createDatabaseNotificationEntity($data)
42 45
     {
43 46
         if ($this->accessor === null) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Dispatcher/MailMessageDispatcher.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.
Dispatcher/NexmoMessageDispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $messageData  = $message->getMessageData();
26 26
 
27 27
         if (empty($this->client)) {
28
-            $credentials  = new Client\Credentials\Basic(
28
+            $credentials = new Client\Credentials\Basic(
29 29
                 $this->nexmoConfiguration['api_key'],
30 30
                 $this->nexmoConfiguration['api_secret']
31 31
             );
Please login to merge, or discard this patch.