Add final keyword to classes
This commit is contained in:
parent
4c1ea711da
commit
f811bf5a16
|
@ -4,7 +4,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Custom exception class for invalid page parameters.
|
||||
*/
|
||||
class MDConsoleInvalidHeadingNumber extends Exception {
|
||||
final class MDConsoleInvalidHeadingNumber extends Exception {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Interface for CLI outputs of museum-digital's dev and admin tools.
|
||||
*/
|
||||
class MDConsole {
|
||||
final class MDConsole {
|
||||
|
||||
const STATUS_NOTICE = 0;
|
||||
const STATUS_UPDATE = 1;
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class for handling outputs and logs for museum-digital's background tools.
|
||||
*/
|
||||
class MDOutputHandler {
|
||||
final class MDOutputHandler {
|
||||
|
||||
/*
|
||||
* Variables
|
||||
|
|
Loading…
Reference in New Issue
Block a user