Passed
Push — develop ( 58e492...dcbf9f )
by nguereza
02:39
created
src/Message.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -104,16 +104,16 @@  discard block
 block discarded – undo
104 104
      */
105 105
     protected string $body = '';
106 106
 
107
-     /**
108
-     * The mail attachments
109
-     * @var array<int, array<string, string>>
110
-     */
107
+        /**
108
+         * The mail attachments
109
+         * @var array<int, array<string, string>>
110
+         */
111 111
     protected array $attachments = [];
112 112
 
113
-     /**
114
-     * The mail headers
115
-     * @var array<string, mixed>
116
-     */
113
+        /**
114
+         * The mail headers
115
+         * @var array<string, mixed>
116
+         */
117 117
     protected array $headers = [];
118 118
 
119 119
     /**
@@ -286,8 +286,8 @@  discard block
 block discarded – undo
286 286
     }
287 287
 
288 288
     /**
289
-    *  {@inheritedoc}
290
-    */
289
+     *  {@inheritedoc}
290
+     */
291 291
     public function setReplyTo(string $email, ?string $name = null): self
292 292
     {
293 293
         $this->replyTo = $this->formatHeader($email, $name);
@@ -461,17 +461,17 @@  discard block
 block discarded – undo
461 461
         }
462 462
 
463 463
         $this->addHeader('X-Priority', $this->priority)
464
-               ->addHeader('X-Mailer', 'Platine PHP Mail')
465
-               ->addHeader('Subject', $this->subject)
466
-               ->addHeader('To', join(', ', $this->to))
467
-               ->addHeader('Date', date('r'));
464
+                ->addHeader('X-Mailer', 'Platine PHP Mail')
465
+                ->addHeader('Subject', $this->subject)
466
+                ->addHeader('To', join(', ', $this->to))
467
+                ->addHeader('Date', date('r'));
468 468
 
469 469
         if ($this->hasAttachments()) {
470 470
             $this->addHeader('MIME-Version', '1.0')
471
-               ->addHeader(
472
-                   'Content-Type',
473
-                   sprintf('multipart/mixed; boundary="%s"', $this->uid)
474
-               );
471
+                ->addHeader(
472
+                    'Content-Type',
473
+                    sprintf('multipart/mixed; boundary="%s"', $this->uid)
474
+                );
475 475
         }
476 476
 
477 477
         return $this;
@@ -573,7 +573,7 @@  discard block
 block discarded – undo
573 573
     protected function filterEmail(string $email): string
574 574
     {
575 575
         $rules = [
576
-           "\r" => '',
576
+            "\r" => '',
577 577
             "\n" => '',
578 578
             "\t" => '',
579 579
             '"'  => '',
@@ -596,7 +596,7 @@  discard block
 block discarded – undo
596 596
     protected function filterName(string $name): string
597 597
     {
598 598
         $rules = [
599
-           "\r" => '',
599
+            "\r" => '',
600 600
             "\n" => '',
601 601
             "\t" => '',
602 602
             '"'  => "'",
Please login to merge, or discard this patch.