| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | public function getChoices(): array |
||
| 48 | { |
||
| 49 | return array_combine( |
||
| 50 | $this->getValues(), |
||
| 51 | array_map( |
||
| 52 | function (string $value): string { |
||
| 53 | return $this->translator->trans( |
||
| 54 | sprintf($this->transPattern, $value), |
||
| 55 | [], |
||
| 56 | $this->transDomain |
||
| 57 | ); |
||
| 58 | }, |
||
| 59 | $this->getValues() |
||
| 60 | ) |
||
| 61 | ); |
||
| 62 | } |
||
| 63 | |||
| 77 |