Skip to content

Commit 90e7f32

Browse files
Merge branch '4.4'
* 4.4: ws fix Mark all dispatched event classes as final
2 parents 6fc69cc + 59e15a8 commit 90e7f32

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Event/AuthenticationFailureEvent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* This event is dispatched on authentication failure.
1919
*
2020
* @author Johannes M. Schmitt <[email protected]>
21+
*
22+
* @final since Symfony 4.4
2123
*/
2224
class AuthenticationFailureEvent extends AuthenticationEvent
2325
{

Event/AuthenticationSuccessEvent.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111

1212
namespace Symfony\Component\Security\Core\Event;
1313

14+
/**
15+
* @final since Symfony 4.4
16+
*/
1417
class AuthenticationSuccessEvent extends AuthenticationEvent
1518
{
1619
}

Event/VoteEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* @internal
2323
*/
24-
class VoteEvent extends Event
24+
final class VoteEvent extends Event
2525
{
2626
private $voter;
2727
private $subject;

0 commit comments

Comments
 (0)