We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bf0495 commit 015caaaCopy full SHA for 015caaa
src/Mailer.php
@@ -59,11 +59,9 @@ class Mailer {
59
/**
60
* Mailer constructor.
61
*
62
- * @param string $sender
63
*/
64
- public function __construct($sender='admin@localhost')
+ public function __construct()
65
{
66
- $this->sender = (string)$sender;
67
$this->reset();
68
}
69
@@ -72,6 +70,7 @@ public function __construct($sender='admin@localhost')
72
70
73
71
* @param string $senderEmail
74
* @param string $senderName
+ * @void
75
76
public function sender($senderEmail, $senderName='')
77
@@ -174,6 +173,7 @@ public function send($address)
174
173
175
176
* Reset body and headers for nex mail
177
178
protected function reset()
179
0 commit comments