We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275c51c commit 5e625c4Copy full SHA for 5e625c4
.swiftlint.yml
@@ -10,6 +10,7 @@ opt_in_rules:
10
- closure_spacing
11
- explicit_init
12
- modifier_order
13
+ - prefer_self_type_over_type_of_self
14
- vertical_whitespace_between_cases
15
- vertical_whitespace_closing_braces
16
Sources/Models/PusherChannel.swift
@@ -6,7 +6,7 @@ public enum PusherChannelType {
6
case normal
7
8
public init(name: String) {
9
- self = Swift.type(of: self).type(forName: name)
+ self = Self.type(forName: name)
}
public static func type(forName name: String) -> PusherChannelType {
0 commit comments