| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class FlatNormalizerStrategy implements NormalizerStrategyInterface |
||
| 20 | { |
||
| 21 | /** @psalm-readonly */ |
||
| 22 | private TableOfContents $toc; |
||
| 23 | |||
| 24 | 4 | public function __construct(TableOfContents $toc) |
|
| 25 | { |
||
| 26 | 4 | $this->toc = $toc; |
|
| 27 | } |
||
| 28 | |||
| 29 | 4 | public function addItem(int $level, ListItem $listItemToAdd): void |
|
| 32 | } |
||
| 33 | } |
||
| 34 |