TOCRenderer   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 3 1
1
<?php namespace Todaymade\Daux\Format\Confluence\ContentTypes\Markdown;
2
3
use League\CommonMark\Block\Element\AbstractBlock;
4
use League\CommonMark\Block\Renderer\BlockRendererInterface;
5
use League\CommonMark\ElementRendererInterface;
6
7
class TOCRenderer implements BlockRendererInterface
8
{
9
    public function render(AbstractBlock $block, ElementRendererInterface $htmlRenderer, $inTightList = false)
10
    {
11
        return '<ac:structured-macro ac:name="toc"></ac:structured-macro>';
12
    }
13
}
14