Skip to content

Commit 0eb17e1

Browse files
docs(firebase_auth): Removed duplicates; fixed typos; removed "unnecessary use of a null check" (#16815)
Co-authored-by: Russell Wheatley <[email protected]>
1 parent 5ae8c9b commit 0eb17e1

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ class FirebaseAuth extends FirebasePluginPlatform {
220220
/// - Thrown if the user is no longer authenticated since his refresh token
221221
/// has been expired
222222
/// - **network-request-failed**:
223-
/// - Thrown if there was a network request error, for example the user don't
224-
/// don't have internet connection
223+
/// - Thrown if there was a network request error, for example the user
224+
/// doesn't have internet connection
225225
/// - **operation-not-allowed**:
226226
/// - Thrown if email/password accounts are not enabled. Enable
227227
/// email/password accounts in the Firebase Console, under the Auth tab.
@@ -498,7 +498,7 @@ class FirebaseAuth extends FirebasePluginPlatform {
498498
/// verification code of the credential is not valid.
499499
/// - **invalid-verification-id**:
500500
/// - Thrown if the credential is a [PhoneAuthProvider.credential] and the
501-
/// verification ID of the credential is not valid.id.
501+
/// verification ID of the credential is not valid.
502502
Future<UserCredential> signInWithCredential(AuthCredential credential) async {
503503
try {
504504
return UserCredential._(
@@ -570,12 +570,12 @@ class FirebaseAuth extends FirebasePluginPlatform {
570570
/// - Thrown if the user is no longer authenticated since his refresh token
571571
/// has been expired
572572
/// - **network-request-failed**:
573-
/// - Thrown if there was a network request error, for example the user don't
574-
/// don't have internet connection
573+
/// - Thrown if there was a network request error, for example the user
574+
/// doesn't have internet connection
575575
/// - **INVALID_LOGIN_CREDENTIALS** or **invalid-credential**:
576576
/// - Thrown if the password is invalid for the given email, or the account
577577
/// corresponding to the email does not have a password set.
578-
/// depending on if you are using firebase emulator or not the code is
578+
/// Depending on if you are using firebase emulator or not the code is
579579
/// different
580580
/// - **operation-not-allowed**:
581581
/// - Thrown if email/password accounts are not enabled. Enable

packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ abstract class FirebaseAuthPlatform extends PlatformInterface {
236236
/// - Thrown if the user is no longer authenticated since his refresh token
237237
/// has been expired
238238
/// - **network-request-failed**:
239-
/// - Thrown if there was a network request error, for example the user don't
240-
/// don't have internet connection
239+
/// - Thrown if there was a network request error, for example the user
240+
/// doesn't have internet connection
241241
/// - **operation-not-allowed**:
242242
/// - Thrown if email/password accounts are not enabled. Enable
243243
/// email/password accounts in the Firebase Console, under the Auth tab.
@@ -476,7 +476,7 @@ abstract class FirebaseAuthPlatform extends PlatformInterface {
476476
/// verification code of the credential is not valid.
477477
/// - **invalid-verification-id**:
478478
/// - Thrown if the credential is a [PhoneAuthProvider.credential] and the
479-
/// verification ID of the credential is not valid.id.
479+
/// verification ID of the credential is not valid.
480480
Future<UserCredentialPlatform> signInWithCredential(
481481
AuthCredential credential,
482482
) async {
@@ -527,12 +527,12 @@ abstract class FirebaseAuthPlatform extends PlatformInterface {
527527
/// - Thrown if the user is no longer authenticated since his refresh token
528528
/// has been expired
529529
/// - **network-request-failed**:
530-
/// - Thrown if there was a network request error, for example the user don't
531-
/// don't have internet connection
530+
/// - Thrown if there was a network request error, for example the user
531+
/// doesn't have internet connection
532532
/// - **INVALID_LOGIN_CREDENTIALS** or **invalid-credential**:
533533
/// - Thrown if the password is invalid for the given email, or the account
534534
/// corresponding to the email does not have a password set.
535-
/// depending on if you are using firebase emulator or not the code is
535+
/// Depending on if you are using firebase emulator or not the code is
536536
/// different
537537
/// - **operation-not-allowed**:
538538
/// - Thrown if email/password accounts are not enabled. Enable

0 commit comments

Comments
 (0)