Passed
Push — master ( 667eb7...2e6ab5 )
by Anton
02:55
created
src/channels/ChannelInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -10,5 +10,8 @@
 block discarded – undo
10 10
 
11 11
 interface ChannelInterface
12 12
 {
13
+    /**
14
+     * @return void
15
+     */
13 16
     public function send(NotifiableInterface $recipient, NotificationInterface $notification);
14 17
 }
15 18
\ No newline at end of file
Please login to merge, or discard this patch.
src/channels/MailChannel.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@
 block discarded – undo
5 5
 namespace tuyakhov\notifications\channels;
6 6
 
7 7
 
8
-use tuyakhov\notifications\messages\MailMessage;
9 8
 use tuyakhov\notifications\NotifiableInterface;
10 9
 use tuyakhov\notifications\NotificationInterface;
10
+use tuyakhov\notifications\messages\MailMessage;
11 11
 use yii\base\Component;
12 12
 use yii\di\Instance;
13 13
 use yii\mail\MailerInterface;
Please login to merge, or discard this patch.
src/NotifiableTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * Send notifications via email by default
29
-     * @return array
29
+     * @return string[]
30 30
      */
31 31
     public function viaChannels()
32 32
     {
Please login to merge, or discard this patch.