Designate functions in MDUnitsSet as explicitly static

This commit is contained in:
Joshua Ramon Enslin 2020-08-07 10:22:12 +02:00 committed by Stefan Rohde-Enslin
parent 4d6e0f03fd
commit ace96ff8c7

View File

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