Reports method and block return values whose inferred types don't match the method's expected return type. The expected return type is taken
from any of:
- The RBS type signature
- The Sorbet type signature
- The YARD
@return tag
Example:
# @return [Integer]
def method
1.0
end