Skip to content

Commit

Permalink
Merge pull request #601 from Uncommon/indexEntryNullable
Browse files Browse the repository at this point in the history
GTObject GTIndexEntry initializers should be nullable
  • Loading branch information
tiennou authored Dec 6, 2016
2 parents 6dc2722 + fedb0ab commit 69235e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ObjectiveGit/GTIndexEntry.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ NS_ASSUME_NONNULL_BEGIN

@interface GTObject (GTIndexEntry)

+ (instancetype)objectWithIndexEntry:(GTIndexEntry *)treeEntry error:(NSError **)error;
- (instancetype)initWithIndexEntry:(GTIndexEntry *)treeEntry error:(NSError **)error;
+ (nullable instancetype)objectWithIndexEntry:(GTIndexEntry *)indexEntry error:(NSError **)error;
- (nullable instancetype)initWithIndexEntry:(GTIndexEntry *)indexEntry error:(NSError **)error;

@end

Expand Down

0 comments on commit 69235e4

Please sign in to comment.