diff --git a/FirebaseMessaging/Sources/Token/FIRMessagingTokenManager.m b/FirebaseMessaging/Sources/Token/FIRMessagingTokenManager.m index 2921d0d62f0..d446ea6b3dc 100644 --- a/FirebaseMessaging/Sources/Token/FIRMessagingTokenManager.m +++ b/FirebaseMessaging/Sources/Token/FIRMessagingTokenManager.m @@ -744,7 +744,7 @@ - (void)setAPNSToken:(NSData *)APNSToken withUserInfo:(NSDictionary *)userInfo { handler:^(NSString *_Nullable token, NSError *_Nullable error){ // Do nothing as callback is not needed and the - // sub-funciton already handle errors. + // sub-function already handle errors. }]; } if ([self->_tokenStore cachedTokenInfos].count == 0) { @@ -752,7 +752,7 @@ - (void)setAPNSToken:(NSData *)APNSToken withUserInfo:(NSDictionary *)userInfo { scope:kFIRMessagingDefaultTokenScope options:tokenOptions handler:^(NSString *_Nullable FCMToken, NSError *_Nullable error){ - // Do nothing as callback is not needed and the sub-funciton + // Do nothing as callback is not needed and the sub-function // already handle errors. }]; }