Fix misnamed parameters in comment documentation

These misnamed parameters were showing warnings in projects with `-Wdocumentation` enabled.