Skip to content

Commit ff9439a

Browse files
authored
Fix misplaced return after error (#10677)
1 parent 2f8664c commit ff9439a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAuth/Sources/AuthProvider/Phone/FIRPhoneAuthProvider.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,8 +711,8 @@ - (void)reCAPTCHAURLWithEventID:(NSString *)eventID completion:(FIRReCAPTCHAURLC
711711
if (error) {
712712
if (completion) {
713713
completion(nil, error);
714-
return;
715714
}
715+
return;
716716
}
717717
NSString *bundleID = [NSBundle mainBundle].bundleIdentifier;
718718
NSString *clientID = self->_auth.app.options.clientID;

0 commit comments

Comments
 (0)