From 5bad375004e814825e4e91e6b550827d8a42dc8d Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Thu, 6 Aug 2020 18:42:38 +0200 Subject: [PATCH] Fix parent-child compatibility with class function names --- src/MDEventsSet.php | 2 +- src/MDMarkingTypesSet.php | 2 +- src/MDValueSet.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MDEventsSet.php b/src/MDEventsSet.php index c872ff3..ef34350 100644 --- a/src/MDEventsSet.php +++ b/src/MDEventsSet.php @@ -57,7 +57,7 @@ class MDEventsSet extends MDValueSet { * @return array */ public static function getSortedList(MDTlLoader $tlLoader):array { - return parent::getSortedList($tlLoader, self::EVENT_IDS, "eventtype_name", "eventname"); + return parent::getTlSortedList($tlLoader, self::EVENT_IDS, "eventtype_name", "eventname"); } diff --git a/src/MDMarkingTypesSet.php b/src/MDMarkingTypesSet.php index 1310802..ba41ce9 100644 --- a/src/MDMarkingTypesSet.php +++ b/src/MDMarkingTypesSet.php @@ -29,7 +29,7 @@ class MDMarkingTypesSet extends MDValueSet { * @return array */ public static function getSortedList(MDTlLoader $tlLoader):array { - return parent::getSortedList($tlLoader, self::MARKING_TYPES, "marking_types", "marking_types"); + return parent::getTlSortedList($tlLoader, self::MARKING_TYPES, "marking_types", "marking_types"); } diff --git a/src/MDValueSet.php b/src/MDValueSet.php index 9961ae5..5a0008e 100644 --- a/src/MDValueSet.php +++ b/src/MDValueSet.php @@ -20,7 +20,7 @@ class MDValueSet { * * @return array */ - public static function getSortedList(MDTlLoader $tlLoader, array $keyList, string $tlFileName, string $tlVarName):array { + public static function getTlSortedList(MDTlLoader $tlLoader, array $keyList, string $tlFileName, string $tlVarName):array { $output = []; foreach ($keyList as $tID) {