Fix documentation

This commit is contained in:
Erik Little 2017-09-30 13:48:35 -04:00
parent 28cc8eef19
commit 819735efbf
No known key found for this signature in database
GPG Key ID: 4930B7C5FBC1A69D

View File

@ -296,7 +296,7 @@ open class SocketIOClient : NSObject, SocketIOClientSpec, SocketEngineClient, So
/// Same as emit, but meant for Objective-C /// Same as emit, but meant for Objective-C
/// ///
/// - parameter event: The event to send. /// - parameter event: The event to send.
/// - parameter with: The items to send with this event. May be left out. /// - parameter with: The items to send with this event. Send an empty array to send no data.
@objc @objc
open func emit(_ event: String, with items: [Any]) { open func emit(_ event: String, with items: [Any]) {
guard status == .connected else { guard status == .connected else {