Skip to content

Commit

Permalink
Declare block as nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
emsquared committed Oct 7, 2017
1 parent a2f0e14 commit e58b017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes (Shared)/Headers/ICLInlineContentModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ typedef void (^ICLInlineContentModuleActionBlock)(ICLInlineContentModule *module
*
* nil is returned if this method is not implemented.
*/
+ (ICLInlineContentModuleActionBlock)actionBlockForURL:(NSURL *)url;
+ (nullable ICLInlineContentModuleActionBlock)actionBlockForURL:(NSURL *)url;

/**
* Returns a selector to perform if the module is interested in the URL.
Expand Down
2 changes: 1 addition & 1 deletion Classes (Shared)/Services/ICLInlineContentModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ @implementation ICLInlineContentModule

ClassWithDesignatedInitializerInitMethod

+ (ICLInlineContentModuleActionBlock)actionBlockForURL:(NSURL *)url
+ (nullable ICLInlineContentModuleActionBlock)actionBlockForURL:(NSURL *)url
{
return nil;
}
Expand Down

0 comments on commit e58b017

Please sign in to comment.