Reports redundant ?: return null
Example:
fun foo(): Int? {
...
}
fun test() : Int? {
return foo() ?: return null
}
After the quick-fix is applied:
fun foo(): Int? {
...
}
fun test() : Int? {
return foo()
}