Fix parameter type in doc for generator

Signed-off-by: Tom Duffield <tom@chef.io>
This commit is contained in:
Tom Duffield 2016-11-20 09:56:49 -06:00 committed by Hunter Haugen
parent 726f8f79fb
commit 5932cb730b
No known key found for this signature in database
GPG Key ID: EF99694AA599DDAD

View File

@ -57,7 +57,7 @@ module GitHubChangelogGenerator
# @param [Array] pull_requests List or PR's in new section # @param [Array] pull_requests List or PR's in new section
# @param [Array] issues List of issues 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] 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 # @return [String] Ready and parsed section
def create_log_for_tag(pull_requests, issues, newer_tag, older_tag = nil) 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) newer_tag_link, newer_tag_name, newer_tag_time = detect_link_tag_time(newer_tag)