Skip to content

Commit 60b822f

Browse files
committed
Use more-common () -> Void closure style
1 parent 5b30e7f commit 60b822f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Settings/In-Person Payments/Onboarding Errors/InPersonPaymentsCashOnDeliveryPaymentGatewayNotSetUpViewModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22
import Yosemite
33

44
final class InPersonPaymentsCashOnDeliveryPaymentGatewayNotSetUpViewModel: ObservableObject {
5-
let completion: () -> ()
5+
let completion: () -> Void
66
private let stores: StoresManager
77
private let noticePresenter: NoticePresenter
88

@@ -14,7 +14,7 @@ final class InPersonPaymentsCashOnDeliveryPaymentGatewayNotSetUpViewModel: Obser
1414

1515
init(stores: StoresManager = ServiceLocator.stores,
1616
noticePresenter: NoticePresenter = ServiceLocator.noticePresenter,
17-
completion: @escaping () -> ()) {
17+
completion: @escaping () -> Void) {
1818
self.stores = stores
1919
self.noticePresenter = noticePresenter
2020
self.completion = completion

0 commit comments

Comments
 (0)