Passed
Push — develop ( 75a5af...5134a1 )
by nguereza
03:12
created
src/Message.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * Class Message
55 55
  * @package Platine\Mail
56 56
  */
57
-class Message implements MessageInterface
58
-{
57
+class Message implements MessageInterface {
59 58
 
60 59
     /**
61 60
      * End of line char
@@ -137,8 +136,7 @@  discard block
 block discarded – undo
137 136
     /**
138 137
      * Create new instance
139 138
      */
140
-    public function __construct()
141
-    {
139
+    public function __construct() {
142 140
         $this->reset();
143 141
     }
144 142
 
@@ -370,8 +368,7 @@  discard block
 block discarded – undo
370 368
     /**
371 369
      * {@inheritedoc}
372 370
      */
373
-    public function getHeader(string $name, $default = null)
374
-    {
371
+    public function getHeader(string $name, $default = null) {
375 372
         $this->prepareHeaders();
376 373
 
377 374
         return array_key_exists($name, $this->headers)
Please login to merge, or discard this patch.
src/Mailer.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
  * Class Mailer
56 56
  * @package Platine\Mail
57 57
  */
58
-class Mailer
59
-{
58
+class Mailer {
60 59
 
61 60
     /**
62 61
      * The mail transport instance
@@ -68,8 +67,7 @@  discard block
 block discarded – undo
68 67
      * Create new instance
69 68
      * @param TransportInterface|null $transport
70 69
      */
71
-    public function __construct(?TransportInterface $transport = null)
72
-    {
70
+    public function __construct(?TransportInterface $transport = null) {
73 71
         $this->transport = $transport ? $transport : new NullTransport();
74 72
     }
75 73
 
Please login to merge, or discard this patch.
src/Transport/SMTP.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * Class SMTP
58 58
  * @package Platine\Mail\Transport
59 59
  */
60
-class SMTP implements TransportInterface
61
-{
60
+class SMTP implements TransportInterface {
62 61
 
63 62
     /**
64 63
      * End of line char
Please login to merge, or discard this patch.
src/Transport/File.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
  * Class File
56 56
  * @package Platine\Mail\Transport
57 57
  */
58
-class File implements TransportInterface
59
-{
58
+class File implements TransportInterface {
60 59
 
61 60
     /**
62 61
      *
@@ -68,8 +67,7 @@  discard block
 block discarded – undo
68 67
      * Create new instance
69 68
      * @param string|null $path
70 69
      */
71
-    public function __construct(?string $path = null)
72
-    {
70
+    public function __construct(?string $path = null) {
73 71
         if ($path === null) {
74 72
             $path = sys_get_temp_dir();
75 73
         }
Please login to merge, or discard this patch.