Skip to content

Commit b376a87

Browse files
authored
Fix nullability annotation for -[OIDExternalUserAgentIOS init] (#727)
1 parent 36c1df0 commit b376a87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/AppAuth/iOS/OIDExternalUserAgentIOS.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN
3434
API_UNAVAILABLE(macCatalyst)
3535
@interface OIDExternalUserAgentIOS : NSObject<OIDExternalUserAgent>
3636

37-
- (nullable instancetype)init API_AVAILABLE(ios(11))
37+
- (null_unspecified instancetype)init API_AVAILABLE(ios(11))
3838
__deprecated_msg("This method will not work on iOS 13, use "
3939
"initWithPresentingViewController:presentingViewController");
4040

Source/AppAuth/iOS/OIDExternalUserAgentIOS.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ @implementation OIDExternalUserAgentIOS {
5555
#pragma clang diagnostic pop
5656
}
5757

58-
- (nullable instancetype)init {
58+
- (null_unspecified instancetype)init {
5959
#pragma clang diagnostic push
6060
#pragma clang diagnostic ignored "-Wnonnull"
6161
return [self initWithPresentingViewController:nil];

0 commit comments

Comments
 (0)