Pattern: Unused parameter
Issue: -
An unused parameter can be removed to simplify the signature of the function.
Example of incorrect code:
fun foo(unused: String) {
println()
}
Example of correct code:
fun foo(used: String) {
println(used)
}