lib/rubocop/cop/layout/indent_first_parameter.rb in rubocop-0.71.0 vs lib/rubocop/cop/layout/indent_first_parameter.rb in rubocop-0.72.0

- old
+ new

@@ -1,12 +1,16 @@ # frozen_string_literal: true module RuboCop module Cop module Layout - # This cop checks the indentation of the first parameter in a method call. - # Parameters after the first one are checked by Layout/AlignParameters, - # not by this cop. + # This cop checks the indentation of the first parameter in a method + # definition. Parameters after the first one are checked by + # Layout/AlignParameters, not by this cop. + # + # For indenting the first argument of method *calls*, check out + # Layout/IndentFirstArgument, which supports options related to + # nesting that are irrelevant for method *definitions*. # # @example # # # bad # def some_method(