Use correct argument name in function description
Use `maxMessages` instead of `numMessages` to match the right argument name
@@ -108,7 +108,7 @@ func (r *SessionReceiver) newLink(ctx context.Context, session internal.AMQPSess
return nil, link, nil
}
-// ReceiveMessages receives a fixed number of messages, up to numMessages.
+// ReceiveMessages receives a fixed number of messages, up to maxMessages.
// There are two ways to stop receiving messages:
// 1. Cancelling the `ctx` parameter.
// 2. An implicit timeout (default: 1 second) that starts after the first
