Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit 5717d9e

Browse files
author
Rad Azzouz
committed
Merge pull request #245 from AgileBits/rad/task/more-nullability-in-private-methods
[IMPROVED ]Added nullability to `findLoginIn1PasswordWithURLString:`
2 parents 8e3da29 + b07a94b commit 5717d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OnePasswordExtension.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ - (BOOL)isSystemAppExtensionAPIAvailable {
315315
#endif
316316
}
317317

318-
- (void)findLoginIn1PasswordWithURLString:(NSString *)URLString collectedPageDetails:(NSString *)collectedPageDetails forWebViewController:(UIViewController *)forViewController sender:(id)sender withWebView:(id)webView showOnlyLogins:(BOOL)yesOrNo completion:(void (^)(BOOL success, NSError *error))completion {
318+
- (void)findLoginIn1PasswordWithURLString:(nonnull NSString *)URLString collectedPageDetails:(nullable NSString *)collectedPageDetails forWebViewController:(nonnull UIViewController *)forViewController sender:(nullable id)sender withWebView:(nonnull id)webView showOnlyLogins:(BOOL)yesOrNo completion:(void (^)(BOOL success, NSError * __nullable error))completion {
319319
if ([URLString length] == 0) {
320320
NSError *URLStringError = [OnePasswordExtension failedToObtainURLStringFromWebViewError];
321321
NSLog(@"Failed to findLoginIn1PasswordWithURLString: %@", URLStringError);

0 commit comments

Comments
 (0)