Skip to content

Commit

Permalink
fix references to MinArgNameLength, which does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Jan 27, 2022
1 parent 7838fc0 commit 5e805d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_naming.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ def foo(num1, num2)
num1 * num2
end
# With `MinArgNameLength` set to number greater than 1
# With `MinNameLength` set to number greater than 1
def baz(a, b, c)
do_stuff(a, b, c)
end
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/cop/naming/method_parameter_name.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Naming
# num1 * num2
# end
#
# # With `MinArgNameLength` set to number greater than 1
# # With `MinNameLength` set to number greater than 1
# def baz(a, b, c)
# do_stuff(a, b, c)
# end
Expand Down

0 comments on commit 5e805d2

Please sign in to comment.