Skip to content

Commit

Permalink
Reset array keys
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 10, 2024
1 parent 7092df6 commit 8c11d39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ protected function buildTableOfContents(array $headings): array
}
}

return $items;
return array_values($items);
}

/** @param array{level: int, title: string, identifier: string} $heading */
Expand Down

0 comments on commit 8c11d39

Please sign in to comment.