Skip to content

Commit 35ed3b9

Browse files
authored
Correct parameter name in documentation comment (#233)
1 parent 0c5f27b commit 35ed3b9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/PusherConnection.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ import CryptoSwift
219219
and data, or calls a client event to be sent if the event is prefixed with
220220
"client"
221221

222-
- parameter event: The name of the event
223-
- parameter data: The data to be stringified and sent
222+
- parameter event: The name of the event
223+
- parameter data: The data to be stringified and sent
224224
- parameter channel: The name of the channel
225225
*/
226226
open func sendEvent(event: String, data: Any, channel: PusherChannel? = nil) {
@@ -236,9 +236,9 @@ import CryptoSwift
236236
/**
237237
Sends a client event with the given event, data, and channel name
238238

239-
- parameter event: The name of the event
240-
- parameter data: The data to be stringified and sent
241-
- parameter channelName: The name of the channel
239+
- parameter event: The name of the event
240+
- parameter data: The data to be stringified and sent
241+
- parameter channel: The name of the channel
242242
*/
243243
fileprivate func sendClientEvent(event: String, data: Any, channel: PusherChannel?) {
244244
if let channel = channel {

0 commit comments

Comments
 (0)