@@ -54,8 +54,7 @@ discard block |
||
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 |
||
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 |
||
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) |
@@ -55,8 +55,7 @@ discard block |
||
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 |
||
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 |
@@ -57,8 +57,7 @@ |
||
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 |
@@ -55,8 +55,7 @@ discard block |
||
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 |
||
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 | } |