Fix wrong method signature in documentation

Issue: SPR-11945