Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
stakovicz committed Feb 19, 2025
1 parent 35851a7 commit 61cae9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions sources/AppBundle/Association/Event/NewMemberEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
namespace AppBundle\Association\Event;

use AppBundle\Association\Model\User;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Contracts\EventDispatcher\Event;

class NewMemberEvent extends Event
{
const NAME = 'member.new';

private User $user;

public function __construct(User $user)
Expand Down
4 changes: 1 addition & 3 deletions sources/AppBundle/Association/Event/UserDisabledEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
namespace AppBundle\Association\Event;

use AppBundle\Association\Model\User;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Contracts\EventDispatcher\Event;

class UserDisabledEvent extends Event
{
const NAME = 'user.disabled';

private User $user;

public function __construct(User $user)
Expand Down

0 comments on commit 61cae9c

Please sign in to comment.