Skip to content

Commit 89a3d00

Browse files
committed
Mark all dispatched event classes as final
1 parent 8da8ad0 commit 89a3d00

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ CHANGELOG
1919
`Symfony\Component\Mailer\Transport\TransportFactoryInterface` and tagging with `mailer.transport_factory` tag in DI.
2020
* Added `Symfony\Component\Mailer\Test\TransportFactoryTestCase` to ease testing custom transport factories.
2121
* Added `SentMessage::getDebug()` and `TransportExceptionInterface::getDebug` to help debugging
22+
* Made `MessageEvent` final
2223

2324
4.3.0
2425
-----

Event/MessageEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @author Fabien Potencier <fabien@symfony.com>
2222
*/
23-
class MessageEvent extends Event
23+
final class MessageEvent extends Event
2424
{
2525
private $message;
2626
private $envelope;

0 commit comments

Comments
 (0)