Skip to content

Commit 2166c25

Browse files
author
David Catmull
committed
GTObject GTIndexEntry initializers should be nullable
1 parent 6dc2722 commit 2166c25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ObjectiveGit/GTIndexEntry.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ NS_ASSUME_NONNULL_BEGIN
8686

8787
@interface GTObject (GTIndexEntry)
8888

89-
+ (instancetype)objectWithIndexEntry:(GTIndexEntry *)treeEntry error:(NSError **)error;
90-
- (instancetype)initWithIndexEntry:(GTIndexEntry *)treeEntry error:(NSError **)error;
89+
+ (nullable instancetype)objectWithIndexEntry:(GTIndexEntry *)treeEntry error:(NSError **)error;
90+
- (nullable instancetype)initWithIndexEntry:(GTIndexEntry *)treeEntry error:(NSError **)error;
9191

9292
@end
9393

0 commit comments

Comments
 (0)