diff options
Diffstat (limited to 'SmartDeviceLink/SDLGetDTCs.m')
-rw-r--r-- | SmartDeviceLink/SDLGetDTCs.m | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLGetDTCs.m b/SmartDeviceLink/SDLGetDTCs.m index 03d0b1844..36a518252 100644 --- a/SmartDeviceLink/SDLGetDTCs.m +++ b/SmartDeviceLink/SDLGetDTCs.m @@ -6,6 +6,8 @@ #import "SDLNames.h" +NS_ASSUME_NONNULL_BEGIN + @implementation SDLGetDTCs - (instancetype)init { @@ -48,7 +50,7 @@ return [parameters objectForKey:SDLNameECUName]; } -- (void)setDtcMask:(NSNumber<SDLInt> *)dtcMask { +- (void)setDtcMask:(nullable NSNumber<SDLInt> *)dtcMask { if (dtcMask != nil) { [parameters setObject:dtcMask forKey:SDLNameDTCMask]; } else { @@ -56,8 +58,10 @@ } } -- (NSNumber<SDLInt> *)dtcMask { +- (nullable NSNumber<SDLInt> *)dtcMask { return [parameters objectForKey:SDLNameDTCMask]; } @end + +NS_ASSUME_NONNULL_END |