Completed
Push — master ( 166b13...ff8131 )
by dan
01:59
created
DatabaseNotificationManager.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@  discard block
 block discarded – undo
17 17
         $this->databaseConfiguration = $databaseConfiguration;
18 18
     }
19 19
 
20
+    /**
21
+     * @param \DateTime $now
22
+     */
20 23
     public function setReadAtDate(DatabaseNotificationInterface $notification, $now = null, $flush = true)
21 24
     {
22 25
         if (empty($now)) {
@@ -31,6 +34,9 @@  discard block
 block discarded – undo
31 34
         }
32 35
     }
33 36
 
37
+    /**
38
+     * @param \DateTime $now
39
+     */
34 40
     public function setUsersNotificationsAsRead(NotifiableInterface $notifiable, $now = null)
35 41
     {
36 42
         $entity = $this->notificationEntityName();
Please login to merge, or discard this patch.
Dispatcher/DatabaseMessageDispatcher.php 1 patch
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.
Dispatcher/MailMessageDispatcher.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
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']);
Please login to merge, or discard this patch.
DependencyInjection/NotificationExtension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -95,6 +95,9 @@
 block discarded – undo
95 95
         }
96 96
     }
97 97
 
98
+    /**
99
+     * @param ContainerBuilder $container
100
+     */
98 101
     private function createBroadcaster($name, $broadcaster, $container)
99 102
     {
100 103
         //
Please login to merge, or discard this patch.