Skip to content

Commit ad64ec7

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

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

FirebaseMessaging/Sources/FIRMessaging.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ - (void)setAutoInitEnabled:(BOOL)autoInitEnabled {
502502
}
503503

504504
- (NSString *)FCMToken {
505-
// Gets the current default token, and requets a new one if it doesn't exist.
505+
// Gets the current default token, and requests a new one if it doesn't exist.
506506
NSString *token = [self.tokenManager tokenAndRequestIfNotExist];
507507
return token;
508508
}

FirebaseMessaging/Sources/FIRMessagingRemoteNotificationsProxy.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ - (void)unswizzleSelector:(SEL)selector inClass:(Class)klass {
353353

354354
// This is useful to generate from a stable, "known missing" selector, as the IMP can be compared
355355
// in case we are setting an implementation for a class that was previously "unswizzled" into a
356-
// non-existant implementation.
356+
// non-existent implementation.
357357
- (IMP)nonExistantMethodImplementationForClass:(Class)klass {
358358
SEL nonExistantSelector = NSSelectorFromString(@"aNonExistantMethod");
359359
IMP nonExistantMethodImplementation = class_getMethodImplementation(klass, nonExistantSelector);

FirebaseMessaging/Sources/FIRMessagingRmqManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
- (FIRMessagingPersistentSyncMessage *)querySyncMessageWithRmqID:(NSString *)rmqID;
5757

5858
/**
59-
* Delete the expired sync messages from persisten store. Also deletes messages that have been
59+
* Delete the expired sync messages from persistent store. Also deletes messages that have been
6060
* delivered both via APNS and MCS.
6161
*/
6262
- (void)deleteExpiredOrFinishedSyncMessages;

FirebaseMessaging/Sources/FIRMessagingRmqManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ - (void)openDatabase {
489489

490490
BOOL didOpenDatabase = YES;
491491
if (![fileManager fileExistsAtPath:path]) {
492-
// We've to separate between different versions here because of backwards compatbility issues.
492+
// We've to separate between different versions here because of backward compatibility issues.
493493
int flags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE;
494494
#ifdef SQLITE_OPEN_FILEPROTECTION_NONE
495495
flags |= SQLITE_OPEN_FILEPROTECTION_NONE;

FirebaseMessaging/Sources/FIRMessagingSyncMessageManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
- (void)removeExpiredSyncMessages;
4040

4141
/**
42-
* App did recive a sync message via APNS.
42+
* App did receive a sync message via APNS.
4343
*
4444
* @param message The sync message received.
4545
*

0 commit comments

Comments
 (0)