| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 52 | protected function renderSelection(): string |
||
| 53 | { |
||
| 54 | $html = ''; |
||
| 55 | |||
| 56 | foreach ($this->getSelectionData() as $selection) { |
||
| 57 | $selected = $this->isSelectionSelected($this->defineSelectionValue($selection)); |
||
|
|
|||
| 58 | |||
| 59 | $html .= $this->createOption($selection)->setSelected($selected); |
||
| 60 | } |
||
| 61 | |||
| 62 | return $html; |
||
| 63 | } |
||
| 76 |