Skip to content

Commit 8c90fee

Browse files
committed
Revert "Add ThemeService nullability annotations"
This reverts commit dacb3b1.
1 parent dacb3b1 commit 8c90fee

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

WordPress/Classes/Services/ThemeService.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
#import "CoreDataStack.h"
22

3-
NS_ASSUME_NONNULL_BEGIN
4-
53
@class Blog;
64
@class Theme;
75
@class WPAccount;
86

97
typedef void(^ThemeServiceSuccessBlock)(void);
10-
typedef void(^ThemeServiceThemeRequestSuccessBlock)(Theme * _Nullable theme);
11-
typedef void(^ThemeServiceThemesRequestSuccessBlock)(NSArray<Theme *> * _Nullable themes, BOOL hasMore, NSInteger totalThemeCount);
8+
typedef void(^ThemeServiceThemeRequestSuccessBlock)(Theme *theme);
9+
typedef void(^ThemeServiceThemesRequestSuccessBlock)(NSArray<Theme *> *themes, BOOL hasMore, NSInteger totalThemeCount);
1210
typedef void(^ThemeServiceFailureBlock)(NSError *error);
1311

1412
@interface ThemeService : NSObject
@@ -112,5 +110,3 @@ typedef void(^ThemeServiceFailureBlock)(NSError *error);
112110

113111

114112
@end
115-
116-
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)