From a5a41d232471445e7598fc9ca3db84595b6ec8af Mon Sep 17 00:00:00 2001 From: Txai Wieser Date: Fri, 29 Dec 2017 14:18:07 -0200 Subject: [PATCH] Swift 4.0 --- PushNotificationHandler/PushNotificationHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PushNotificationHandler/PushNotificationHandler.swift b/PushNotificationHandler/PushNotificationHandler.swift index bf5944d..7b0cf9f 100644 --- a/PushNotificationHandler/PushNotificationHandler.swift +++ b/PushNotificationHandler/PushNotificationHandler.swift @@ -25,7 +25,7 @@ public class PushNotificationHandler { private var apnsToken: String? public typealias NewTokenHandlerArguments = (tokenData: Data?, token: String?, error: Error?) - private var newTokenHandler: (NewTokenHandlerArguments) -> Void = {_,_,_ in} + private var newTokenHandler: (NewTokenHandlerArguments) -> Void = { _ in } private func alreadySubscribedIndex(potentialSubscriber: PushNotificationSubscriber) -> Int? { return subscribers.index(where: { (weakSubscriber) -> Bool in