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