From 7e8a1b2e5be454b168d942056c4abb7f8e92a9a8 Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Thu, 7 Nov 2024 13:05:38 +0000 Subject: [PATCH] fix(auth, apple): set nullability on pigeon parser method (#13571) --- packages/firebase_auth/firebase_auth/ios/Classes/PigeonParser.m | 2 +- .../firebase_auth/ios/Classes/Private/PigeonParser.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/firebase_auth/firebase_auth/ios/Classes/PigeonParser.m b/packages/firebase_auth/firebase_auth/ios/Classes/PigeonParser.m index 61e600df759e..63f64aab88f1 100644 --- a/packages/firebase_auth/firebase_auth/ios/Classes/PigeonParser.m +++ b/packages/firebase_auth/firebase_auth/ios/Classes/PigeonParser.m @@ -179,7 +179,7 @@ + (PigeonIdTokenResult *)parseIdTokenResult:(FIRAuthTokenResult *)tokenResult { signInSecondFactor:tokenResult.signInSecondFactor]; } -+ (NSArray *)getManualList:(nonnull PigeonUserDetails *)userDetails { ++ (NSArray *_Nonnull)getManualList:(nonnull PigeonUserDetails *)userDetails { NSMutableArray *output = [NSMutableArray array]; id userInfoList = [[userDetails userInfo] toList]; diff --git a/packages/firebase_auth/firebase_auth/ios/Classes/Private/PigeonParser.h b/packages/firebase_auth/firebase_auth/ios/Classes/Private/PigeonParser.h index e0f45472dd1a..02f5e0d84db6 100644 --- a/packages/firebase_auth/firebase_auth/ios/Classes/Private/PigeonParser.h +++ b/packages/firebase_auth/firebase_auth/ios/Classes/Private/PigeonParser.h @@ -10,7 +10,7 @@ @interface PigeonParser : NSObject -+ (NSArray *)getManualList:(nonnull PigeonUserDetails *)userDetails; ++ (NSArray *_Nonnull)getManualList:(nonnull PigeonUserDetails *)userDetails; + (PigeonUserCredential *_Nullable) getPigeonUserCredentialFromAuthResult:(nonnull FIRAuthDataResult *)authResult authorizationCode:(nullable NSString *)authorizationCode;