Remove backticks (`) from "protocol" and rename it.
func urlSession(
_ session: URLSession,
webSocketTask: URLSessionWebSocketTask,
didOpenWithProtocol protocol: String?
) {
if let sessionDelegate = self.sessionDelegate as? URLSessionWebSocketDelegate {
sessionDelegate.urlSession?(
session,
webSocketTask: webSocketTask,
didOpenWithProtocol: `protocol`
)
}
}
As you can see I don't use any custom names... just passing property from one func to another. But CI's Sonar gives me an error.
New Issue Checklist
Issue Description
Remove backticks (`) from "protocol" and rename it.
As you can see I don't use any custom names... just passing property from one func to another. But CI's Sonar gives me an error.
Environment
Details