Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 59bd717

Browse files
committed
Fix typos
1 parent b94e440 commit 59bd717

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

WordPressKit/HTTPRequestBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
22

3-
/// A builder type that adding HTTP request data onto an URL.
3+
/// A builder type that appends HTTP request data to a URL.
44
///
55
/// Calling this class's url related functions (the ones that changes path, query, etc) does not modify the
66
/// original URL string. The URL will be perserved in the final result that's returned by the `build` function.

WordPressKitTests/Utilities/HTTPRequestBuilderTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class HTTPRequestBuilderTests: XCTestCase {
88
static let nestedParameters: [String: Any] =
99
[
1010
"number": 1,
11-
"nsnumbe-true": NSNumber(value: true),
11+
"nsnumber-true": NSNumber(value: true),
1212
"true": true,
1313
"false": false,
1414
"string": "true",
@@ -27,7 +27,7 @@ class HTTPRequestBuilderTests: XCTestCase {
2727
]
2828
static let nestedParametersEncoded = [
2929
"number=1",
30-
"nsnumbe-true=1",
30+
"nsnumber-true=1",
3131
"true=1",
3232
"false=0",
3333
"string=true",

0 commit comments

Comments
 (0)