From ace96ff8c730dbf3c43ab494843684d993a492ef Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Fri, 7 Aug 2020 10:22:12 +0200 Subject: [PATCH] Designate functions in MDUnitsSet as explicitly static --- src/MDUnitsSet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MDUnitsSet.php b/src/MDUnitsSet.php index 4b2ab62..a467097 100644 --- a/src/MDUnitsSet.php +++ b/src/MDUnitsSet.php @@ -21,7 +21,7 @@ class MDUnitsSet extends MDValueSet { * * @return array */ - function getLengthUnitsTLed(MDTlLoader $tlLoader):array { + public static function getLengthUnitsTLed(MDTlLoader $tlLoader):array { return parent::getTlUnsortedList($tlLoader, self::UNITS_LENGTH, "units_length_set", "units_length_set"); } @@ -33,7 +33,7 @@ class MDUnitsSet extends MDValueSet { * * @return array */ - function getWeightUnitsTLed(MDTlLoader $tlLoader):array { + public static function getWeightUnitsTLed(MDTlLoader $tlLoader):array { return parent::getTlUnsortedList($tlLoader, self::UNITS_WEIGHT, "units_weight_set", "units_weight_set"); }