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

Commit 49f177f

Browse files
committed
Use let instead of var
1 parent 4f4b6b9 commit 49f177f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

WordPressKit/WordPressOrgRestApi.swift

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ public struct WordPressOrgRestApiError: LocalizedError, Decodable, HTTPURLRespon
2626
@objc
2727
public final class WordPressOrgRestApi: NSObject {
2828
public struct SelfHostedSiteCredential {
29-
public var loginURL: URL
30-
public var username: String
31-
public var password: Secret<String>
32-
33-
public var adminURL: URL
29+
public let loginURL: URL
30+
public let username: String
31+
public let password: Secret<String>
32+
public let adminURL: URL
3433

3534
public init(loginURL: URL, username: String, password: String, adminURL: URL) {
3635
self.loginURL = loginURL

0 commit comments

Comments
 (0)