Add final keyword to classes

This commit is contained in:
jrenslin authored and Stefan Rohde-Enslin committed 2020-08-29 12:57:08 +02:00
1 parent 4c1ea711da
commit f811bf5a16
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
/** /**
* 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.
+1 -1
View File
@@ -9,7 +9,7 @@
/** /**
* 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;
+1 -1
View File
@@ -9,7 +9,7 @@
/** /**
* 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