Passed
Push — master ( b39628...7861b1 )
by Mathieu
02:37 queued 11s
created
src/Charcoal/Email/Email.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -750,7 +750,7 @@  discard block
 block discarded – undo
750 750
     /**
751 751
      * Send the email to all recipients
752 752
      *
753
-     * @return boolean Success / Failure.
753
+     * @return boolean|null Success / Failure.
754 754
      * @todo Implement methods and property for toggling rich-text vs. plain-text
755 755
      *       emails (`$mail->isHTML(true)`).
756 756
      */
@@ -887,7 +887,7 @@  discard block
 block discarded – undo
887 887
      * Log the send event for each recipient.
888 888
      *
889 889
      * @param  boolean $result Success or failure.
890
-     * @param  mixed   $mailer The raw mailer.
890
+     * @param  PHPMailer   $mailer The raw mailer.
891 891
      * @return void
892 892
      */
893 893
     protected function logSend($result, $mailer)
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -20,18 +20,14 @@
 block discarded – undo
20 20
 use Charcoal\Factory\FactoryInterface;
21 21
 
22 22
 // Module 'charcoal-view'
23
-use Charcoal\View\GenericView;
24 23
 use Charcoal\View\ViewableInterface;
25 24
 use Charcoal\View\ViewableTrait;
26 25
 
27 26
 // Module 'charcoal-queue'
28 27
 use Charcoal\Queue\QueueableInterface;
29 28
 use Charcoal\Queue\QueueableTrait;
30
-
31
-
32 29
 use Charcoal\Email\EmailInterface;
33 30
 use Charcoal\Email\EmailConfig;
34
-use Charcoal\Email\EmailLog;
35 31
 use Charcoal\Email\EmailQueueItem;
36 32
 
37 33
 /**
Please login to merge, or discard this patch.
src/Charcoal/Email/EmailAwareTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     /**
34 34
      * Convert an email address (RFC822) into a proper array notation.
35 35
      *
36
-     * @param  mixed $var An email array (containing an "email" key and optionally a "name" key).
36
+     * @param  string $var An email array (containing an "email" key and optionally a "name" key).
37 37
      * @throws InvalidArgumentException If the email is invalid.
38 38
      * @return array|null
39 39
      */
Please login to merge, or discard this patch.
src/Charcoal/Email/EmailLog.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@
 block discarded – undo
265 265
     }
266 266
 
267 267
     /**
268
-     * @param  null|string|DateTime $ts The "send date" datetime value.
268
+     * @param  string $ts The "send date" datetime value.
269 269
      * @throws InvalidArgumentException If the ts is not a valid datetime value.
270 270
      * @return self
271 271
      */
Please login to merge, or discard this patch.