Skip to content

Commit 966ad68

Browse files
authored
Fix typos (#2576)
1 parent 2f8570f commit 966ad68

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Example/Auth/Tests/FIROAuthProviderTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
static NSString *const kFakeReverseClientID = @"com.googleusercontent.apps.123456";
8181

8282
/** @var kFakeOAuthResponseURL
83-
@brief A fake OAuth reponse URL used in test.
83+
@brief A fake OAuth response URL used in test.
8484
*/
8585
static NSString *const kFakeOAuthResponseURL = @"fakeOAuthResponseURL";
8686

Firebase/Auth/Source/AuthProviders/OAuth/FIROAuthProvider.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
/** @typedef FIRHeadfulLiteURLCallBack
3838
@brief The callback invoked at the end of the flow to fetch a headful-lite URL.
3939
@param headfulLiteURL The headful lite URL.
40-
@param error The error that occured while fetching the headful-lite, if any.
40+
@param error The error that occurred while fetching the headful-lite, if any.
4141
*/
4242
typedef void (^FIRHeadfulLiteURLCallBack)(NSURL *_Nullable headfulLiteURL,
4343
NSError *_Nullable error);
@@ -167,7 +167,7 @@ - (void)getCredentialWithUIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
167167
#pragma mark - Internal Methods
168168

169169
/** @fn initWithProviderID:auth:
170-
@brief returns an instance of @c FIROAuthProvider assocaited with the provided auth instance.
170+
@brief returns an instance of @c FIROAuthProvider associated with the provided auth instance.
171171
@param auth The Auth instance to be associated with the OAuthProvider instance.
172172
@return An Instance of @c FIROAuthProvider.
173173
*/
@@ -314,7 +314,7 @@ - (nullable NSString *)customParametersStringWithError:(NSError *_Nullable *_Nul
314314
}
315315

316316
/** @fn hashforString:
317-
@brief Returns the SHA256 hash representaion of a given string object.
317+
@brief Returns the SHA256 hash representation of a given string object.
318318
@param string The string for which a SHA256 hash is desired.
319319
@return An hexadecimal string representation of the SHA256 hash.
320320
*/

Firebase/Auth/Source/FIRAuthInternalErrors.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ typedef NS_ENUM(NSInteger, FIRAuthInternalErrorCode) {
355355
FIRAuthInternalErrorCodeWebInternalError =
356356
FIRAuthPublicErrorCodeFlag | FIRAuthErrorCodeWebInternalError,
357357

358-
/** Indicates that an internal error occured within a SFSafariViewController or UIWebview.
358+
/** Indicates that an internal error occurred within a SFSafariViewController or UIWebview.
359359
*/
360360
FIRAuthInternalErrorCodeWebSignInUserInteractionFailure =
361361
FIRAuthPublicErrorCodeFlag | FIRAuthErrorCodeWebSignInUserInteractionFailure,

Firebase/Auth/Source/FIRUser.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ - (void)unlinkFromProvider:(NSString *)provider
11911191
return;
11921192
}
11931193

1194-
// We can't just use the provider info objects in FIRSetAcccountInfoResponse because they
1194+
// We can't just use the provider info objects in FIRSetAccountInfoResponse because they
11951195
// don't have localID and email fields. Remove the specific provider manually.
11961196
NSMutableDictionary *mutableProviderData = [self->_providerData mutableCopy];
11971197
[mutableProviderData removeObjectForKey:provider];

Firebase/Auth/Source/Public/FIRAuth.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ NS_SWIFT_NAME(Auth)
487487
<li>@c FIRAuthErrorCodeWebNetworkRequestFailed - Indicates that a network request within a
488488
SFSafariViewController or UIWebview failed.
489489
</li>
490-
<li>@c FIRAuthErrorCodeWebInternalError - Indicates that an internal error occured within a
490+
<li>@c FIRAuthErrorCodeWebInternalError - Indicates that an internal error occurred within a
491491
SFSafariViewController or UIWebview.
492492
</li>
493493
<li>@c FIRAuthErrorCodeWebSignInUserInteractionFailure - Indicates a general failure during

0 commit comments

Comments
 (0)