File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1073,7 +1073,7 @@ public struct Pagination: Codable {
10731073 }
10741074
10751075 internal init ( string value: String ) throws {
1076- var array = value. split ( separator: " , " )
1076+ let array = value. split ( separator: " , " )
10771077 if array. count != 2 {
10781078 throw QueryParamsError . invalidValue
10791079 }
@@ -1366,7 +1366,7 @@ public struct InclusiveRange<I: Identifier>: Operation {
13661366
13671367 /// Creates a InclusiveRange instance from a given String value
13681368 public init ( string value: String ) throws {
1369- var array = value. split ( separator: " , " )
1369+ let array = value. split ( separator: " , " )
13701370 if array. count != 2 {
13711371 throw QueryParamsError . invalidValue
13721372 }
@@ -1420,7 +1420,7 @@ public struct ExclusiveRange<I: Identifier>: Operation {
14201420
14211421 /// Creates a ExclusiveRange instance from a given String value
14221422 public init ( string value: String ) throws {
1423- var array = value. split ( separator: " , " )
1423+ let array = value. split ( separator: " , " )
14241424 if array. count != 2 {
14251425 throw QueryParamsError . invalidValue
14261426 }
You can’t perform that action at this time.
0 commit comments