Make value sets final
This commit is contained in:
parent
88e068d0da
commit
44f0d38601
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class containing available currencies.
|
||||
*/
|
||||
class MDCurrenciesSet extends MDValueSet {
|
||||
final class MDCurrenciesSet extends MDValueSet {
|
||||
|
||||
const CURRENCIES = [
|
||||
'',
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class containing available marking types.
|
||||
*/
|
||||
class MDEntryTypesSet extends MDValueSet {
|
||||
final class MDEntryTypesSet extends MDValueSet {
|
||||
|
||||
const ENTRY_TYPES = [
|
||||
'0', //
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class containing available units for events.
|
||||
*/
|
||||
class MDEventsSet extends MDValueSet {
|
||||
final class MDEventsSet extends MDValueSet {
|
||||
|
||||
const EVENT_IDS = [
|
||||
'1', // => Created
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class containing static functions for getting available languages.
|
||||
*/
|
||||
class MDLanguagesSet {
|
||||
final class MDLanguagesSet {
|
||||
|
||||
const AVAILABLE_LANGUAGES = [
|
||||
'aa' => 'Afar-áf',
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class containing static functions for getting available licenses on md.
|
||||
*/
|
||||
class MDLicensesSet extends MDValueSet {
|
||||
final class MDLicensesSet extends MDValueSet {
|
||||
|
||||
const AVAILABLE_LICENSES = [
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class containing available marking types.
|
||||
*/
|
||||
class MDMarkingTypesSet extends MDValueSet {
|
||||
final class MDMarkingTypesSet extends MDValueSet {
|
||||
|
||||
const MARKING_TYPES = [
|
||||
'signature',
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class containing available positions on an object.
|
||||
*/
|
||||
class MDObjectPositionsSet extends MDValueSet {
|
||||
final class MDObjectPositionsSet extends MDValueSet {
|
||||
|
||||
const POSITIONS = [
|
||||
'left', 'top_left', 'top', 'top_right', 'right', 'bottom_right', 'bottom', 'bottom_left', 'center', 'rear_side', 'edge', 'other',
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class containing available marking types.
|
||||
*/
|
||||
class MDObjectPublicationBackgrounds extends MDValueSet {
|
||||
final class MDObjectPublicationBackgrounds extends MDValueSet {
|
||||
|
||||
const PUBLICATION_BACKGROUNDS = [
|
||||
'0', // Image published
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class containing available place types.
|
||||
*/
|
||||
class MDPlacetypesSet extends MDValueSet {
|
||||
final class MDPlacetypesSet extends MDValueSet {
|
||||
|
||||
const PLACE_TYPE_IDS = [
|
||||
'0', // => Administrativ
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class containing available marking types.
|
||||
*/
|
||||
class MDTitleTypesSet extends MDValueSet {
|
||||
final class MDTitleTypesSet extends MDValueSet {
|
||||
|
||||
const TITLE_TYPES = [
|
||||
"",
|
||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
|||
/**
|
||||
* Class containing available units for weights, lengths etc.
|
||||
*/
|
||||
class MDUnitsSet extends MDValueSet {
|
||||
final class MDUnitsSet extends MDValueSet {
|
||||
|
||||
const UNITS_LENGTH = ['', 'm', 'dm', 'cm', 'mm'];
|
||||
const UNITS_WEIGHT = ['', 't', 'kg', 'g'];
|
||||
|
|
Loading…
Reference in New Issue
Block a user