diff --git a/app/Bus/Events/User/UserWasInvitedEvent.php b/app/Bus/Events/User/UserWasInvitedEvent.php index b51d57aa..1df56261 100644 --- a/app/Bus/Events/User/UserWasInvitedEvent.php +++ b/app/Bus/Events/User/UserWasInvitedEvent.php @@ -11,10 +11,16 @@ namespace CachetHQ\Cachet\Bus\Events\User; -use CachetHQ\Cachet\Bus\Events\ActionInterface; use CachetHQ\Cachet\Models\Invite; -final class UserWasInvitedEvent implements ActionInterface, UserEventInterface +/** + * This is the user was invited event class. + * + * @author Joseph Cohen + * @author Graham Campbell + * @author James Brooks + */ +final class UserWasInvitedEvent implements UserEventInterface { /** * The invite that has been added. @@ -44,17 +50,4 @@ final class UserWasInvitedEvent implements ActionInterface, UserEventInterface { return 'User was invited.'; } - - /** - * Get the event action. - * - * @return array - */ - public function getAction() - { - return [ - 'user' => $this->user, - 'description' => (string) $this, - ]; - } }