Skip to content

Commit 81ad757

Browse files
committed
Fixed swiftlint warnings for PageInfo
1 parent 681001c commit 81ad757

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Sources/Graphiti/Connection/PageInfo.swift

+7-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@ public struct PageInfo: Codable {
33
public let hasNextPage: Bool
44
public let startCursor: String?
55
public let endCursor: String?
6-
7-
public init(hasPreviousPage: Bool, hasNextPage: Bool, startCursor: String? = nil, endCursor: String? = nil) {
6+
7+
public init(
8+
hasPreviousPage: Bool,
9+
hasNextPage: Bool,
10+
startCursor: String? = nil,
11+
endCursor: String? = nil
12+
) {
813
self.hasPreviousPage = hasPreviousPage
914
self.hasNextPage = hasNextPage
1015
self.startCursor = startCursor

0 commit comments

Comments
 (0)