| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | 1 | public static function get_unit_options() : array |
|
| 29 | { |
||
| 30 | 1 | $unit_options = midcom_baseclasses_components_configuration::get('org.openpsa.products', 'config')->get('unit_options'); |
|
| 31 | 1 | $l10n = midcom::get()->i18n->get_l10n('org.openpsa.products'); |
|
| 32 | 1 | return array_map([$l10n, 'get'], $unit_options); |
|
| 33 | } |
||
| 44 |