Skip to content

Commit b70ae30

Browse files
committed
Fix SwiftLint warnings
1 parent b982d71 commit b70ae30

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Packages/ConfCore/ConfCore/Bookmark.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public final class Bookmark: Object, HasCloudKitFields, SoftDeletable, Decodable
5353
/// The session this bookmark is associated with
5454
public let session = LinkingObjects(fromType: Session.self, property: "bookmarks")
5555

56-
public override class func primaryKey() -> String? {
56+
public override static func primaryKey() -> String? {
5757
return "identifier"
5858
}
5959

Packages/ConfCore/ConfCore/CloudKitHelper.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import CloudKit
1111

1212
public final class CloudKitHelper {
1313

14-
public class func subscriptionExists(with name: String, in database: CKDatabase, completion: @escaping (Bool) -> Void) {
14+
public static func subscriptionExists(with name: String, in database: CKDatabase, completion: @escaping (Bool) -> Void) {
1515
let fetchSubscriptionOperation = CKFetchSubscriptionsOperation(subscriptionIDs: [name])
1616

1717
fetchSubscriptionOperation.fetchSubscriptionCompletionBlock = { subscriptions, error in

Packages/ConfCore/ConfCore/Favorite.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public final class Favorite: Object, HasCloudKitFields, SoftDeletable {
2727
/// The session this favorite is associated with
2828
public let session = LinkingObjects(fromType: Session.self, property: "favorites")
2929

30-
public override class func primaryKey() -> String? {
30+
public override static func primaryKey() -> String? {
3131
return "identifier"
3232
}
3333

Packages/ConfCore/ConfCore/ScheduleSection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public final class ScheduleSection: Object {
1717
@objc public dynamic var representedDate: Date = .distantPast
1818
public let instances = List<SessionInstance>()
1919

20-
public override class func primaryKey() -> String {
20+
public override static func primaryKey() -> String {
2121
return "identifier"
2222
}
2323

Packages/ConfCore/ConfCore/SessionProgress.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public final class SessionProgress: Object, HasCloudKitFields, SoftDeletable {
3737
/// The session this progress is associated with
3838
public let session = LinkingObjects(fromType: Session.self, property: "progresses")
3939

40-
public override class func primaryKey() -> String? {
40+
public override static func primaryKey() -> String? {
4141
return "identifier"
4242
}
4343
}

0 commit comments

Comments
 (0)