Sonar fixes

This change fixes the name of a variable to satisfy Sonar.

[#75030176]
Merge 75030176-sonar to master

[Completes #75030176]