Explicitly list inch and feet as available length units

This commit is contained in:
Joshua Ramon Enslin 2022-09-02 01:03:41 +02:00
parent 78e4edab74
commit f65ec3fe14
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -11,7 +11,7 @@ declare(strict_types = 1);
*/
final class MDUnitsSet extends MDValueSet {
const UNITS_LENGTH = ['', 'm', 'dm', 'cm', 'mm'];
const UNITS_LENGTH = ['', 'm', 'dm', 'cm', 'mm', 'ft', 'in'];
const UNITS_WEIGHT = ['', 't', 'kg', 'g'];
const UNITS_LENGTH_TO_MILLIMETER = [