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

Commit edbe1ef

Browse files
committed
Address SwiftLint violations that could be auto-corrected
Via `make format`, which internally runs `swiftlint --autocorrect`
1 parent 77e9a6d commit edbe1ef

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

WordPressAuthenticator/Analytics/AuthenticatorAnalyticsTracker.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public class AuthenticatorAnalyticsTracker {
8383
///
8484
case loginWithSiteAddress = "login_site_address"
8585

86-
/// This flow starts when the user wants to troubleshoot their site by inputting its address
86+
/// This flow starts when the user wants to troubleshoot their site by inputting its address
8787
///
8888
case siteDiscovery = "site_discovery"
8989

WordPressAuthenticator/Authenticator/WordPressAuthenticator.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,14 +557,14 @@ import WordPressKit
557557

558558
public extension WordPressAuthenticator {
559559

560-
func getAppleIDCredentialState(for userID: String, completion: @escaping (ASAuthorizationAppleIDProvider.CredentialState, Error?) -> Void) {
560+
func getAppleIDCredentialState(for userID: String, completion: @escaping (ASAuthorizationAppleIDProvider.CredentialState, Error?) -> Void) {
561561
AppleAuthenticator.sharedInstance.getAppleIDCredentialState(for: userID) { (state, error) in
562562
// If credentialState == .notFound, error will have a value.
563563
completion(state, error)
564564
}
565565
}
566566

567-
func startObservingAppleIDCredentialRevoked(completion: @escaping () -> Void) {
567+
func startObservingAppleIDCredentialRevoked(completion: @escaping () -> Void) {
568568
appleIDCredentialObserver = NotificationCenter.default.addObserver(forName: AppleAuthenticator.credentialRevokedNotification, object: nil, queue: nil) { (_) in
569569
completion()
570570
}

WordPressAuthenticator/Logging/CocoaLumberjack.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22
import CocoaLumberjack
33

44
// June 14 2017 - @astralbodies
5-
// Taken from CocoaLumberjack repository - reproduced to prevent issue with
5+
// Taken from CocoaLumberjack repository - reproduced to prevent issue with
66
// CocoaPods and some weird bug with frameworks
77

88
// Software License Agreement (BSD License)

WordPressAuthenticator/Navigation/NavigationCommand.swift

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

33
/// NavigationCommand abstracts logic necessary provide clients of this library
44
/// with a way to navigate to a particular location in the UL navigation flow.
5-
///
5+
///
66
/// Concrete implementations of this protocol will decide what that means
77
///
88
public protocol NavigationCommand {

WordPressAuthenticator/Signup/SignupEmailViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class SignupEmailViewController: LoginViewController, NUXKeyboardResponder {
136136

137137
// MARK: - Email Availability
138138

139-
private func checkEmailAvailability(completion:@escaping (Bool) -> Void) {
139+
private func checkEmailAvailability(completion: @escaping (Bool) -> Void) {
140140

141141
let remote = AccountServiceRemoteREST(
142142
wordPressComRestApi: WordPressComRestApi(baseUrlString: WordPressAuthenticator.shared.configuration.wpcomAPIBaseURL))

0 commit comments

Comments
 (0)