Mark all Commands as final

This commit is contained in:
Tim Düsterhus 2022-03-04 19:16:30 +01:00
parent d44003b3ef
commit 5b4d97fbc8
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
15 changed files with 15 additions and 15 deletions

View File

@ -27,7 +27,7 @@ use wcf\system\WCF;
/** /**
* The away command marks the user as being away. * The away command marks the user as being away.
*/ */
class AwayCommand extends AbstractCommand implements ICommand final class AwayCommand extends AbstractCommand implements ICommand
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -26,7 +26,7 @@ use wcf\system\WCF;
/** /**
* The back command marks the user as being back. * The back command marks the user as being back.
*/ */
class BackCommand extends AbstractCommand implements ICommand final class BackCommand extends AbstractCommand implements ICommand
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -28,7 +28,7 @@ use wcf\system\WCF;
/** /**
* The ban command creates a new be.bastelstu.chat.suspension.ban suspension. * The ban command creates a new be.bastelstu.chat.suspension.ban suspension.
*/ */
class BanCommand extends AbstractSuspensionCommand implements ICommand final class BanCommand extends AbstractSuspensionCommand implements ICommand
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -26,7 +26,7 @@ use wcf\system\WCF;
/** /**
* BroadcastCommand sends a broadcast into all channels. * BroadcastCommand sends a broadcast into all channels.
*/ */
class BroadcastCommand extends AbstractInputProcessedCommand implements ICommand final class BroadcastCommand extends AbstractInputProcessedCommand implements ICommand
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -29,7 +29,7 @@ use wcf\util\StringUtil;
/** /**
* The color command allows a user to set a color for their username * The color command allows a user to set a color for their username
*/ */
class ColorCommand extends AbstractCommand implements ICommand final class ColorCommand extends AbstractCommand implements ICommand
{ {
/** /**
* Regular expression matching RGB values in hexadecimal notation * Regular expression matching RGB values in hexadecimal notation

View File

@ -27,7 +27,7 @@ use wcf\system\WCF;
/** /**
* The info command shows information about a single user. * The info command shows information about a single user.
*/ */
class InfoCommand extends AbstractCommand implements ICommand final class InfoCommand extends AbstractCommand implements ICommand
{ {
use TNeedsUser; use TNeedsUser;

View File

@ -26,7 +26,7 @@ use wcf\system\WCF;
/** /**
* MeCommand represents an action message. * MeCommand represents an action message.
*/ */
class MeCommand extends AbstractCommand implements ICommand final class MeCommand extends AbstractCommand implements ICommand
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -24,7 +24,7 @@ use wcf\system\WCF;
/** /**
* The mute command creates a new be.bastelstu.chat.suspension.mute suspension. * The mute command creates a new be.bastelstu.chat.suspension.mute suspension.
*/ */
class MuteCommand extends AbstractSuspensionCommand implements ICommand final class MuteCommand extends AbstractSuspensionCommand implements ICommand
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -26,7 +26,7 @@ use wcf\system\WCF;
/** /**
* The plain command creates a normal chat message * The plain command creates a normal chat message
*/ */
class PlainCommand extends AbstractInputProcessedCommand implements ICommand final class PlainCommand extends AbstractInputProcessedCommand implements ICommand
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -26,7 +26,7 @@ use wcf\system\WCF;
/** /**
* TeamCommand sends a broadcast to all team members. * TeamCommand sends a broadcast to all team members.
*/ */
class TeamCommand extends AbstractInputProcessedCommand implements ICommand final class TeamCommand extends AbstractInputProcessedCommand implements ICommand
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -26,7 +26,7 @@ use wcf\system\WCF;
/** /**
* The temproom command allows a user to manage temporary rooms. * The temproom command allows a user to manage temporary rooms.
*/ */
class TemproomCommand extends AbstractCommand implements ICommand final class TemproomCommand extends AbstractCommand implements ICommand
{ {
use TNeedsUser; use TNeedsUser;

View File

@ -25,7 +25,7 @@ use wcf\system\WCF;
/** /**
* The unban command revokes a new be.bastelstu.chat.suspension.ban suspension. * The unban command revokes a new be.bastelstu.chat.suspension.ban suspension.
*/ */
class UnbanCommand extends AbstractUnsuspensionCommand implements ICommand final class UnbanCommand extends AbstractUnsuspensionCommand implements ICommand
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -24,7 +24,7 @@ use wcf\system\WCF;
/** /**
* The unmute command revokes a new be.bastelstu.chat.suspension.mute suspension. * The unmute command revokes a new be.bastelstu.chat.suspension.mute suspension.
*/ */
class UnmuteCommand extends AbstractUnsuspensionCommand implements ICommand final class UnmuteCommand extends AbstractUnsuspensionCommand implements ICommand
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -26,7 +26,7 @@ use wcf\system\WCF;
* The where command shows the distribution of users among * The where command shows the distribution of users among
* the different chat rooms. * the different chat rooms.
*/ */
class WhereCommand extends AbstractCommand implements ICommand final class WhereCommand extends AbstractCommand implements ICommand
{ {
/** /**
* @inheritDoc * @inheritDoc

View File

@ -27,7 +27,7 @@ use wcf\system\WCF;
* The whisper command creates a private message * The whisper command creates a private message
* between two chat users. * between two chat users.
*/ */
class WhisperCommand extends AbstractInputProcessedCommand implements ICommand final class WhisperCommand extends AbstractInputProcessedCommand implements ICommand
{ {
use TNeedsUser; use TNeedsUser;