Sources/Client/MenuClient.swift
Function retrieve
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public func retrieve(partner: PartnerCode? = nil,
location: LocationCode? = nil,
keysOnly: Bool = false,
apiKey: APIKey? = nil,
callback: @escaping MenuRetrieveCallback) throws -> GetMenuCall {
Multiline comment should end with whitespace Open
Open
**/
- Read upRead up
- Exclude checks
comment-whitespace
Prefer at least one whitespace character after a comment opening symbol (//
, ///
, /*
, or /**
) and at least one whitespace character before a comment closing symbol (*/
).
Preferred
// This is a comment
/// This is a documentation comment
/* This is a
multi-line comment */
/* This is a
multi-line comment
*/
/** This is a
documentation multi-line
comment
*/
Not Preferred
//This is a comment
///This is a documentation comment
/*This is a
multi-line comment*/
/**This is a multi-line
documentation comment */