Skip to content

Commit 36d532a

Browse files
This removes the code annotation in the block signature to maintain backwards compatibility
1 parent 796138d commit 36d532a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/JSONAPIResourceParser.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ + (void)link:(NSObject <JSONAPIResource>*)resource withIncluded:(JSONAPI*)jsonAP
277277
// has many
278278
} else if ([value isKindOfClass:[NSArray class]]) {
279279
NSMutableArray *matched = [value mutableCopy];
280-
[value enumerateObjectsUsingBlock:^(id _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
280+
[value enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
281281
NSObject <JSONAPIResource> *res = obj;
282282
id v = includedValue[res.ID];
283283
if (v != nil) {

0 commit comments

Comments
 (0)