* fixing return types in documentation * Apply suggestions from code review --------- Co-authored-by: Bastian Köcher <git@kchr.de>