@@ -26,7 +26,7 @@ |
||
26 | 26 | * @param ElementRendererInterface $htmlRenderer |
27 | 27 | * @param bool $inTightList |
28 | 28 | * |
29 | - * @return string |
|
29 | + * @return HtmlElement |
|
30 | 30 | */ |
31 | 31 | public function render(AbstractBlock $block, ElementRendererInterface $htmlRenderer, $inTightList = false) |
32 | 32 | { |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use League\CommonMark\Block\Element\Document; |
19 | 19 | use League\CommonMark\Block\Element\InlineContainerInterface; |
20 | 20 | use League\CommonMark\Block\Element\Paragraph; |
21 | -use League\CommonMark\Node\NodeWalker; |
|
22 | 21 | |
23 | 22 | class DocParser |
24 | 23 | { |