Make all non-inherited classes final
This commit is contained in:
@ -12,7 +12,7 @@ declare(strict_types = 1);
|
||||
* Custom exception class to be raised when trying to use a weight unit that is not
|
||||
* accepted by museum-digital.
|
||||
*/
|
||||
class MDInvalidWeightUnit extends MDgenericInvalidInputsException {
|
||||
final class MDInvalidWeightUnit extends MDgenericInvalidInputsException {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
Reference in New Issue
Block a user