Skip to content

Commit ff077a5

Browse files
committed
improving code quality
1 parent 15a875c commit ff077a5

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

Sources/MultiUser/Model/Address.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Foundation
99
import CoreLocation
1010

11-
public struct Address : Codable {
11+
public struct Address: Codable {
1212

1313
public var label: String?
1414
public var street: String?

Sources/MultiUser/Model/Capabilities.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
import Foundation
99

10-
public struct Capabilities : Codable {
11-
10+
public struct Capabilities: Codable {
11+
1212
public var nativeLanguage: String?
1313
public var languages: [String]?
1414

Sources/MultiUser/Model/EMail.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import Foundation
99

10-
public struct EMail : Codable {
10+
public struct EMail: Codable {
1111

1212
public var label: String?
1313
public var email: String?

Sources/MultiUser/Model/Phone.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import Foundation
99

10-
public struct Phone : Codable {
10+
public struct Phone: Codable {
1111

1212
public var label: String?
1313
public var phone: String?

Sources/MultiUser/Model/User.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Foundation
99
import CoreImage
1010

11-
public struct User : Codable {
11+
public struct User: Codable {
1212
private var uuid: UUID
1313

1414
public var username: String?

Sources/MultiUser/Model/UserIndex.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77

88
import Foundation
99

10-
public struct UserIndex : Codable {
10+
public struct UserIndex: Codable {
1111
var currentUserUUID: UUID?
1212

1313
public init() {
1414
}
15-
15+
1616
public init(from decoder: Decoder) throws {
1717
let values = try decoder.container(keyedBy: CodingKeys.self)
1818
self.currentUserUUID = try values.decode(UUID.self, forKey: .currentUserUUID)

Sources/MultiUser/PropertyListUserRepository.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import Foundation
99

10-
public class PropertyListUserRepository : UserRepositoryProtocol {
10+
public class PropertyListUserRepository: UserRepositoryProtocol {
1111

1212
public init() {
1313
do

Sources/MultiUser/Protocol/UserServiceProtocol.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//
22
// UserServiceProtocol.swift
3-
//
3+
//
44
//
55
// Created by Sascha Müllner on 29.02.20.
66
//

Sources/MultiUser/UserService.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
import Foundation
99

10-
public class UserService : UserServiceProtocol {
10+
public class UserService: UserServiceProtocol {
1111

12-
private var userRepository :UserRepositoryProtocol
12+
private var userRepository: UserRepositoryProtocol
1313

14-
public init(userRepository :UserRepositoryProtocol) {
14+
public init(userRepository: UserRepositoryProtocol) {
1515
self.userRepository = userRepository
1616
}
1717

0 commit comments

Comments
 (0)