Local 'var' is never modified and can be declared as 'val'
Reports local variables declared with the
var keyword that are never modified.
Kotlin encourages to declare practically immutable variables using the
val keyword, ensuring that their value will never change.
The quick-fix replaces the
var keyword with