Add final keyword to classes

This commit is contained in:
Joshua Ramon Enslin 2020-08-29 12:57:08 +02:00 committed by Stefan Rohde-Enslin
parent 4c1ea711da
commit f811bf5a16
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ declare(strict_types = 1);
/** /**
* Custom exception class for invalid page parameters. * Custom exception class for invalid page parameters.
*/ */
class MDConsoleInvalidHeadingNumber extends Exception { final class MDConsoleInvalidHeadingNumber extends Exception {
/** /**
* Error message. * Error message.

View File

@ -9,7 +9,7 @@ declare(strict_types = 1);
/** /**
* Interface for CLI outputs of museum-digital's dev and admin tools. * Interface for CLI outputs of museum-digital's dev and admin tools.
*/ */
class MDConsole { final class MDConsole {
const STATUS_NOTICE = 0; const STATUS_NOTICE = 0;
const STATUS_UPDATE = 1; const STATUS_UPDATE = 1;

View File

@ -9,7 +9,7 @@ declare(strict_types = 1);
/** /**
* Class for handling outputs and logs for museum-digital's background tools. * Class for handling outputs and logs for museum-digital's background tools.
*/ */
class MDOutputHandler { final class MDOutputHandler {
/* /*
* Variables * Variables