Add null return type to getCurrentToc and handle empty TOC in build method

Merge request reports

Loading