lib/reek/smells/duplicate_method_call.rb in reek-4.1.0 vs lib/reek/smells/duplicate_method_call.rb in reek-4.1.1
- old
+ new
@@ -31,11 +31,10 @@
DEFAULT_ALLOW_CALLS = [].freeze
def self.default_config
super.merge(
MAX_ALLOWED_CALLS_KEY => DEFAULT_MAX_CALLS,
- ALLOW_CALLS_KEY => DEFAULT_ALLOW_CALLS
- )
+ ALLOW_CALLS_KEY => DEFAULT_ALLOW_CALLS)
end
#
# Looks for duplicate calls within the body of the method +ctx+.
#