| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | 2 | public function getChoices() |
|
| 46 | { |
||
| 47 | 2 | return array_combine( |
|
| 48 | 2 | $this->getValues(), |
|
| 49 | 2 | array_map( |
|
| 50 | 2 | function ($value) { |
|
| 51 | 2 | return $this->translator->trans( |
|
| 52 | 2 | sprintf($this->transPattern, $value), |
|
| 53 | 2 | [], |
|
| 54 | 2 | $this->transDomain |
|
| 55 | ); |
||
| 56 | 2 | }, |
|
| 57 | 2 | $this->getValues() |
|
| 58 | ) |
||
| 59 | ); |
||
| 60 | } |
||
| 61 | |||
| 75 |