extra/type: fix type of return PARAM_ADD/SET