1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

Mark all MessageTypes as final

This commit is contained in:
Tim Düsterhus 2022-03-04 19:18:10 +01:00
parent e836009dbb
commit 17546d4f24
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
19 changed files with 19 additions and 19 deletions

View File

@ -24,7 +24,7 @@
/** /**
* AttachmentMessageType represents a message with an attached file. * AttachmentMessageType represents a message with an attached file.
*/ */
class AttachmentMessageType implements IMessageType, IDeletableMessageType final class AttachmentMessageType implements IMessageType, IDeletableMessageType
{ {
use TCanSeeInSameRoom; use TCanSeeInSameRoom;

View File

@ -24,7 +24,7 @@
/** /**
* AwayMessageType represents a notice that a user now is away from chat. * AwayMessageType represents a notice that a user now is away from chat.
*/ */
class AwayMessageType implements IMessageType final class AwayMessageType implements IMessageType
{ {
use TDefaultPayload; use TDefaultPayload;

View File

@ -24,7 +24,7 @@
/** /**
* BackMessageType represents a notice that a user now is now back. * BackMessageType represents a notice that a user now is now back.
*/ */
class BackMessageType implements IMessageType final class BackMessageType implements IMessageType
{ {
use TDefaultPayload; use TDefaultPayload;

View File

@ -24,7 +24,7 @@
/** /**
* BroadcastMessageType represents a broadcasted message. * BroadcastMessageType represents a broadcasted message.
*/ */
class BroadcastMessageType implements IMessageType, IDeletableMessageType final class BroadcastMessageType implements IMessageType, IDeletableMessageType
{ {
/** /**
* @var PlainMessageType * @var PlainMessageType

View File

@ -22,7 +22,7 @@
/** /**
* ChatUpdateMessageType informs the chat about a back end update. * ChatUpdateMessageType informs the chat about a back end update.
*/ */
class ChatUpdateMessageType implements IMessageType final class ChatUpdateMessageType implements IMessageType
{ {
use TDefaultPayload; use TDefaultPayload;

View File

@ -24,7 +24,7 @@
/** /**
* ColorMessageType represents a color message. * ColorMessageType represents a color message.
*/ */
class ColorMessageType implements IMessageType final class ColorMessageType implements IMessageType
{ {
use TDefaultPayload; use TDefaultPayload;

View File

@ -18,7 +18,7 @@
/** /**
* InfoMessageType represents the reply to InfoCommand. * InfoMessageType represents the reply to InfoCommand.
*/ */
class InfoMessageType implements IMessageType final class InfoMessageType implements IMessageType
{ {
use TCanSeeCreator; use TCanSeeCreator;
use TDefaultPayload; use TDefaultPayload;

View File

@ -18,7 +18,7 @@
/** /**
* JoinMessageType represents a join message. * JoinMessageType represents a join message.
*/ */
class JoinMessageType implements IMessageType final class JoinMessageType implements IMessageType
{ {
use TCanSeeInSameRoom; use TCanSeeInSameRoom;
use TDefaultPayload; use TDefaultPayload;

View File

@ -18,7 +18,7 @@
/** /**
* LeaveMessageType represents a leave message. * LeaveMessageType represents a leave message.
*/ */
class LeaveMessageType implements IMessageType final class LeaveMessageType implements IMessageType
{ {
use TCanSeeInSameRoom; use TCanSeeInSameRoom;
use TDefaultPayload; use TDefaultPayload;

View File

@ -22,7 +22,7 @@
/** /**
* MeMessageType represents an action message. * MeMessageType represents an action message.
*/ */
class MeMessageType implements IMessageType, IDeletableMessageType final class MeMessageType implements IMessageType, IDeletableMessageType
{ {
use TCanSeeInSameRoom; use TCanSeeInSameRoom;
use TDefaultPayload; use TDefaultPayload;

View File

@ -24,7 +24,7 @@
/** /**
* PlainMessageType represents a normal message. * PlainMessageType represents a normal message.
*/ */
class PlainMessageType implements IMessageType, IDeletableMessageType final class PlainMessageType implements IMessageType, IDeletableMessageType
{ {
use TCanSeeInSameRoom; use TCanSeeInSameRoom;

View File

@ -24,7 +24,7 @@
/** /**
* SuspendMessageType informs about suspensions. * SuspendMessageType informs about suspensions.
*/ */
class SuspendMessageType implements IMessageType final class SuspendMessageType implements IMessageType
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -24,7 +24,7 @@
/** /**
* TeamMessageType represents a team internal message. * TeamMessageType represents a team internal message.
*/ */
class TeamMessageType implements IMessageType, IDeletableMessageType final class TeamMessageType implements IMessageType, IDeletableMessageType
{ {
/** /**
* @var PlainMessageType * @var PlainMessageType

View File

@ -18,7 +18,7 @@
/** /**
* TemproomCreatedMessageType informs a user that a temporary room was created. * TemproomCreatedMessageType informs a user that a temporary room was created.
*/ */
class TemproomCreatedMessageType implements IMessageType final class TemproomCreatedMessageType implements IMessageType
{ {
use TCanSeeCreator; use TCanSeeCreator;
use TDefaultPayload; use TDefaultPayload;

View File

@ -24,7 +24,7 @@
/** /**
* TemproomInvitedMessageType informs a user that they were invited to a temporary room. * TemproomInvitedMessageType informs a user that they were invited to a temporary room.
*/ */
class TemproomInvitedMessageType implements IMessageType final class TemproomInvitedMessageType implements IMessageType
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -24,7 +24,7 @@
/** /**
* TombstoneMessageType marks a different message as dead. * TombstoneMessageType marks a different message as dead.
*/ */
class TombstoneMessageType implements IMessageType final class TombstoneMessageType implements IMessageType
{ {
use TDefaultPayload; use TDefaultPayload;

View File

@ -24,7 +24,7 @@
/** /**
* UnsuspendMessageType informs about removed suspensions. * UnsuspendMessageType informs about removed suspensions.
*/ */
class UnsuspendMessageType implements IMessageType final class UnsuspendMessageType implements IMessageType
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -24,7 +24,7 @@
/** /**
* WhereMessageType represents the reply to WhereCommand. * WhereMessageType represents the reply to WhereCommand.
*/ */
class WhereMessageType implements IMessageType final class WhereMessageType implements IMessageType
{ {
use TCanSeeCreator; use TCanSeeCreator;

View File

@ -25,7 +25,7 @@
/** /**
* WhisperMessageType represents a whispered message. * WhisperMessageType represents a whispered message.
*/ */
class WhisperMessageType implements IMessageType final class WhisperMessageType implements IMessageType
{ {
/** /**
* HtmlOutputProcessor to use. * HtmlOutputProcessor to use.