VID-1877 Updated the attribute name

It may be more readable to directly assign this `$params[$paramName] = $values[$idx];`