Completed
Pull Request — master (#12)
by Rasmus
01:41
created
src/MailServiceLogger.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,8 +77,9 @@
 block discarded – undo
77 77
 
78 78
     /**
79 79
      * @param Message $message
80
+     * @param string $status
80 81
      *
81
-     * @return array map where message token => replacement string
82
+     * @return string map where message token => replacement string
82 83
      */
83 84
     protected function getMessageTokens(Message $message, $status)
84 85
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Kodus\Mail;
4 4
 
5
-use Error;
6
-use Exception;
5
+use Error;
6
+use Exception;
7 7
 use Psr\Log\LoggerInterface;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
src/MIMEWriter.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,8 @@
 block discarded – undo
164 164
      * Write the "Content-Type" header and the Attachment Content in base-64 encoded format
165 165
      *
166 166
      * @param Attachment  $attachment
167
-     * @param string|null Content ID (for inline Attachments)
167
+     * @param string|null Content ID (for inline Attachments)
168
+     * @param string $content_id
168 169
      */
169 170
     public function writeAttachmentPart(Attachment $attachment, $content_id = null)
170 171
     {
Please login to merge, or discard this patch.
src/SMTP/SMTPMailService.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Kodus\Mail\SMTP;
4 4
 
5
-use Kodus\Mail\MailService;
6
-use Kodus\Mail\Message;
5
+use Kodus\Mail\MailService;
6
+use Kodus\Mail\Message;
7 7
 use Kodus\Mail\MIMEWriter;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
src/Message.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-     * @return Address|Address[]
97
+     * @return Address[]
98 98
      */
99 99
     public function getTo()
100 100
     {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
      *
178 178
      * In particular, the "Sender" field *must* be present if it is *not* the same as the "From" Field.
179 179
      *
180
-     * @param Address|null $sender
180
+     * @param Address $sender
181 181
      */
182 182
     public function setSender(Address $sender)
183 183
     {
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     }
186 186
 
187 187
     /**
188
-     * @return Address|Address[]
188
+     * @return Address[]
189 189
      */
190 190
     public function getCC()
191 191
     {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     }
212 212
 
213 213
     /**
214
-     * @return Address|Address[]
214
+     * @return Address[]
215 215
      */
216 216
     public function getBCC()
217 217
     {
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     }
244 244
 
245 245
     /**
246
-     * @return Address|Address[]
246
+     * @return Address[]
247 247
      */
248 248
     public function getReplyTo()
249 249
     {
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     }
292 292
 
293 293
     /**
294
-     * @param int|string|DateTimeInterface $date DateTime in Sender's timezone (or a UNIX integer timestamp;
294
+     * @param integer $date DateTime in Sender's timezone (or a UNIX integer timestamp;
295 295
      *                                           or a string that is compatible with the strtotime() function)
296 296
      */
297 297
     public function setDate($date)
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Kodus\Mail;
4 4
 
5
-use DateTimeImmutable;
6
-use DateTimeInterface;
5
+use DateTimeImmutable;
6
+use DateTimeInterface;
7 7
 use InvalidArgumentException;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.