[DOC] Correct a code example method name