Skip to content

Commit afe529f

Browse files
authored
Fix all typos found under the FirebaseMessaging/Sources/Token directory (#13359)
1 parent f9c1d9a commit afe529f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

FirebaseMessaging/Sources/Token/FIRMessagingCheckinService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ FOUNDATION_EXPORT NSString *const kFIRMessagingDeviceDataVersionKey;
4444
* gService data.
4545
*
4646
* @param existingCheckin An existing checkin preference object, if available.
47-
* @param completion Completion hander called on success or failure of device checkin.
47+
* @param completion Completion handler called on success or failure of device checkin.
4848
*/
4949
- (void)checkinWithExistingCheckin:(nullable FIRMessagingCheckinPreferences *)existingCheckin
5050
completion:

FirebaseMessaging/Sources/Token/FIRMessagingTokenInfo.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* created from a dictionary. The same keys are used
2727
* when decoding/encoding an archive.
2828
*/
29-
/// Specifies a dictonary key whose value represents the authorized entity, or
29+
/// Specifies a dictionary key whose value represents the authorized entity, or
3030
/// Sender ID for the token.
3131
static NSString *const kFIRInstanceIDAuthorizedEntityKey = @"authorized_entity";
3232
/// Specifies a dictionary key whose value represents the scope of the token,

FirebaseMessaging/Sources/Token/FIRMessagingTokenManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ - (void)fetchNewTokenWithAuthorizedEntity:(NSString *)authorizedEntity
333333
handler:^(NSError *error) {
334334
if (!error) {
335335
// Do not send the token back in case the save was unsuccessful. Since with
336-
// the new asychronous fetch mechanism this can lead to infinite loops, for
336+
// the new asynchronous fetch mechanism this can lead to infinite loops, for
337337
// example, we will return a valid token even though we weren't able to store
338338
// it in our cache. The first token will lead to a onTokenRefresh callback
339339
// wherein the user again calls `getToken` but since we weren't able to save

0 commit comments

Comments
 (0)