Skip to content

Commit 015caaa

Browse files
committed
version 2.0.0
1 parent 8bf0495 commit 015caaa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Mailer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,9 @@ class Mailer {
5959
/**
6060
* Mailer constructor.
6161
*
62-
* @param string $sender
6362
*/
64-
public function __construct($sender='admin@localhost')
63+
public function __construct()
6564
{
66-
$this->sender = (string)$sender;
6765
$this->reset();
6866
}
6967

@@ -72,6 +70,7 @@ public function __construct($sender='admin@localhost')
7270
*
7371
* @param string $senderEmail
7472
* @param string $senderName
73+
* @void
7574
*/
7675
public function sender($senderEmail, $senderName='')
7776
{
@@ -174,6 +173,7 @@ public function send($address)
174173

175174
/**
176175
* Reset body and headers for nex mail
176+
* @void
177177
*/
178178
protected function reset()
179179
{

0 commit comments

Comments
 (0)