[bug][32527] Fixing var return type doc. Closes #3980