lib/rubocop/cop/lint/format_parameter_mismatch.rb in rubocop-0.49.0 vs lib/rubocop/cop/lint/format_parameter_mismatch.rb in rubocop-0.49.1

- old
+ new

@@ -134,10 +134,10 @@ end def arguments_count(args) if args.empty? 0 - elsif args.last.type == :splat + elsif args.last.splat_type? -(args.count - 1) else args.count end end