Skip to content

Commit 1e28e9b

Browse files
authored
Merge pull request #897 from abicky/fix-yard-annotation
Fix "@param tag has unknown parameter name"
2 parents e766e2c + f07b4c1 commit 1e28e9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/kafka/cluster.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def get_leader(topic, partition)
120120

121121
# Finds the broker acting as the coordinator of the given group.
122122
#
123-
# @param group_id: [String]
123+
# @param group_id [String]
124124
# @return [Broker] the broker that's currently coordinator.
125125
def get_group_coordinator(group_id:)
126126
@logger.debug "Getting group coordinator for `#{group_id}`"
@@ -130,7 +130,7 @@ def get_group_coordinator(group_id:)
130130

131131
# Finds the broker acting as the coordinator of the given transaction.
132132
#
133-
# @param transactional_id: [String]
133+
# @param transactional_id [String]
134134
# @return [Broker] the broker that's currently coordinator.
135135
def get_transaction_coordinator(transactional_id:)
136136
@logger.debug "Getting transaction coordinator for `#{transactional_id}`"

lib/kafka/protocol/encoder.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def write_varint_string(string)
126126
# Writes an integer under varints serializing to the IO object.
127127
# https://developers.google.com/protocol-buffers/docs/encoding#varints
128128
#
129-
# @param string [Integer]
129+
# @param int [Integer]
130130
# @return [nil]
131131
def write_varint(int)
132132
int = int << 1

0 commit comments

Comments
 (0)