Skip to content

Commit 07c68d5

Browse files
committed
[Mailer] Fix SmtpEnvelope renaming to Envelope
1 parent 575a59b commit 07c68d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Event/MessageEvent.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Symfony\Component\Mime\RawMessage;
1717

1818
/**
19-
* Allows the transformation of a Message and the SMTP Envelope before the email is sent.
19+
* Allows the transformation of a Message and the Envelope before the email is sent.
2020
*
2121
* @author Fabien Potencier <fabien@symfony.com>
2222
*/
@@ -45,12 +45,12 @@ public function setMessage(RawMessage $message): void
4545
$this->message = $message;
4646
}
4747

48-
public function getEnvelope(): SmtpEnvelope
48+
public function getEnvelope(): Envelope
4949
{
5050
return $this->envelope;
5151
}
5252

53-
public function setEnvelope(SmtpEnvelope $envelope): void
53+
public function setEnvelope(Envelope $envelope): void
5454
{
5555
$this->envelope = $envelope;
5656
}

0 commit comments

Comments
 (0)