Completed
Branch release/1.0.1 (f3c193)
by Philippe
02:17
created
src/Mailer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use Postmark\PostmarkClient;
20 20
 use yii\base\InvalidConfigException;
21 21
 use yii\mail\BaseMailer;
22
-use Yii;
23 22
 
24 23
 /**
25 24
  * This component allow user to send an email
Please login to merge, or discard this patch.
src/Message.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
         } else {
449 449
             $embed['ContentType'] = 'application/octet-stream';
450 450
         }
451
-        $embed['ContentID'] = 'cid:' . uniqid();
451
+        $embed['ContentID'] = 'cid:'.uniqid();
452 452
         $this->attachments[] = $embed;
453 453
         return $embed['ContentID'];
454 454
     }
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
         } else {
470 470
             $embed['ContentType'] = 'application/octet-stream';
471 471
         }
472
-        $embed['ContentID'] = 'cid:' . uniqid();
472
+        $embed['ContentID'] = 'cid:'.uniqid();
473 473
         $this->attachments[] = $embed;
474 474
         return $embed['ContentID'];
475 475
     }
@@ -500,9 +500,9 @@  discard block
 block discarded – undo
500 500
                         $emails[] = $email;
501 501
                     } else {
502 502
                         if (preg_match('/[.,:]/', $email) > 0) {
503
-                            $email = '"'. $email .'"';
503
+                            $email = '"'.$email.'"';
504 504
                         }
505
-                        $emails[] = $email . ' ' . '<' . $key . '>';
505
+                        $emails[] = $email.' '.'<'.$key.'>';
506 506
                     }
507 507
                 }
508 508
                 $emails = implode(', ', $emails);
Please login to merge, or discard this patch.