FIX: documentation was using incorrect function (PR #9876)

GitHub