This inspection warns you about unnecessary return statements.
The IDE helps you avoid unnecessary usages of return statements to make your code look better.
As of Ruby 1.8, the value of the assignment method is always the value of the parameter; the return value of the method is discarded.