Skip to content

Commit ea4c5fa

Browse files
authored
Docs: enhance FirebaseMessaging token sources comments (#13805)
1 parent e9e7fb8 commit ea4c5fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirebaseMessaging/Sources/Token/FIRMessagingTokenManager.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,15 +744,15 @@ - (void)setAPNSToken:(NSData *)APNSToken withUserInfo:(NSDictionary *)userInfo {
744744
handler:^(NSString *_Nullable token,
745745
NSError *_Nullable error){
746746
// Do nothing as callback is not needed and the
747-
// sub-funciton already handle errors.
747+
// sub-function already handle errors.
748748
}];
749749
}
750750
if ([self->_tokenStore cachedTokenInfos].count == 0) {
751751
[self tokenWithAuthorizedEntity:self.fcmSenderID
752752
scope:kFIRMessagingDefaultTokenScope
753753
options:tokenOptions
754754
handler:^(NSString *_Nullable FCMToken, NSError *_Nullable error){
755-
// Do nothing as callback is not needed and the sub-funciton
755+
// Do nothing as callback is not needed and the sub-function
756756
// already handle errors.
757757
}];
758758
}

0 commit comments

Comments
 (0)