Skip to content

Commit

Permalink
Reorder menus
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed May 8, 2024
1 parent 1ee7e20 commit 91e5e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phpDocumentor/Descriptor/VersionDescriptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function getTableOfContents(): Collection
{
$tocs = Collection::fromClassString(TocDescriptor::class);
foreach ($this->documentationSets as $documentationSet) {
$tocs = $tocs->merge($documentationSet->getTableOfContents());
$tocs = $documentationSet->getTableOfContents()->merge($tocs);
}

return $tocs;
Expand Down

0 comments on commit 91e5e76

Please sign in to comment.