diff options
Diffstat (limited to 'src/objc/smtp/MCOSMTPLoginOperation.h')
-rw-r--r-- | src/objc/smtp/MCOSMTPLoginOperation.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/objc/smtp/MCOSMTPLoginOperation.h b/src/objc/smtp/MCOSMTPLoginOperation.h index e7ffc641..39715cc7 100644 --- a/src/objc/smtp/MCOSMTPLoginOperation.h +++ b/src/objc/smtp/MCOSMTPLoginOperation.h @@ -13,6 +13,7 @@ #import <MailCore/MCOSMTPOperation.h> /** This is an asynchronous operation that will perform a noop operation through SMTP. */ +NS_ASSUME_NONNULL_BEGIN @interface MCOSMTPLoginOperation : MCOSMTPOperation /* @@ -25,8 +26,9 @@ - On failure, `error` will be set with `MCOErrorDomain` as domain and an error code available in MCOConstants.h, */ -- (void) start:(void (^)(NSError * error))completionBlock; +- (void) start:(void (^)(NSError * __nullable error))completionBlock; @end +NS_ASSUME_NONNULL_END #endif |