メソッドの戻り値で、その推論される型がメソッドの @return タグと一致していないものを報告します。

例:

# @return [Integer] result
def foo
  42.0
end