@@ -100,6 +100,9 @@ |
||
100 | 100 | return array_intersect_key($units, array_combine($possibleTypes, $possibleTypes)); |
101 | 101 | } |
102 | 102 | |
103 | + /** |
|
104 | + * @return string |
|
105 | + */ |
|
103 | 106 | public function getUnitLabel() |
104 | 107 | { |
105 | 108 | return $this->getUnitOptions()[$this->unit] ?? null; |