Fix parent-child compatibility with class function names

This commit is contained in:
Joshua Ramon Enslin 2020-08-06 18:42:38 +02:00 committed by Stefan Rohde-Enslin
parent 87e4cea8b1
commit 5bad375004
3 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ class MDEventsSet extends MDValueSet {
* @return array<string>
*/
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");
}

View File

@ -29,7 +29,7 @@ class MDMarkingTypesSet extends MDValueSet {
* @return array<string>
*/
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");
}

View File

@ -20,7 +20,7 @@ class MDValueSet {
*
* @return array<string>
*/
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) {