SonarLint : Array designators "[]" should be on the type, not the variable (squid:S1197)

The array designator is on type it will improve the readability and maintainability other whoever is reading your code needs to look at both the type as well as the name of the variable .

Non Compliant Code

screenshot_08.png

Compliant Code

screenshot_09.png