Skip to content

Commit d1e6385

Browse files
committed
[TASK] Remove superfluous constructor param
1 parent 0a9922a commit d1e6385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/guides-restructured-text/src/RestructuredText/Directives/ContentsDirective.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function process(
3939
$blockContext->getDocumentParserContext()->getContext()->getCurrentFileName(),
4040
);
4141

42-
return (new ContentMenuNode([new SectionMenuEntryNode($absoluteUrl, null)]))
42+
return (new ContentMenuNode([new SectionMenuEntryNode($absoluteUrl)]))
4343
->withOptions($this->optionsToArray($options))
4444
->withCaption($directive->getDataNode());
4545
}

0 commit comments

Comments
 (0)