Skip to content

Commit b6e75c4

Browse files
Fix Nullability Annotation Warnings (#381)
1 parent 79614ba commit b6e75c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Leanplum-SDK/Classes/Leanplum.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ NS_SWIFT_NAME(start(userId:completion:));
329329
userAttributes:(NSDictionary<NSString *, id> *)attributes
330330
NS_SWIFT_UNAVAILABLE("Use start(userId:attributes:completion:");
331331

332-
+ (void)startWithUserId:(NSString *)userId
333-
userAttributes:(NSDictionary<NSString *, id> *)attributes
332+
+ (void)startWithUserId:(nullable NSString *)userId
333+
userAttributes:(nullable NSDictionary<NSString *, id> *)attributes
334334
responseHandler:(nullable LeanplumStartBlock)startResponse
335335
NS_SWIFT_NAME(start(userId:attributes:completion:));
336336
/**@}*/

0 commit comments

Comments
 (0)