From 5932cb730bec2df24f36168b8f8c381c96f40c1d Mon Sep 17 00:00:00 2001 From: Tom Duffield Date: Sun, 20 Nov 2016 09:56:49 -0600 Subject: [PATCH] Fix parameter type in doc for generator Signed-off-by: Tom Duffield --- lib/github_changelog_generator/generator/generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/github_changelog_generator/generator/generator.rb b/lib/github_changelog_generator/generator/generator.rb index ebf99b7..b349f63 100644 --- a/lib/github_changelog_generator/generator/generator.rb +++ b/lib/github_changelog_generator/generator/generator.rb @@ -57,7 +57,7 @@ module GitHubChangelogGenerator # @param [Array] pull_requests List or PR's in new section # @param [Array] issues List of issues in new section # @param [String] newer_tag Name of the newer tag. Could be nil for `Unreleased` section - # @param [String] older_tag Older tag, used for the links. Could be nil for last tag. + # @param [Hash, nil] older_tag Older tag, used for the links. Could be nil for last tag. # @return [String] Ready and parsed section def create_log_for_tag(pull_requests, issues, newer_tag, older_tag = nil) newer_tag_link, newer_tag_name, newer_tag_time = detect_link_tag_time(newer_tag)