docs: Fix parameter names for two functions

Don't use two different parameter names.