Skip to content

Commit 6d185a4

Browse files
committed
Totes nullable.
1 parent fc544f9 commit 6d185a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ObjectiveGit/GTSubmodule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ NS_ASSUME_NONNULL_BEGIN
117117
/// error - The error if one occurred.
118118
///
119119
/// Returns the updated submodule or nil if an error occurred.
120-
- (GTSubmodule *)submoduleByUpdatingIgnoreRule:(GTSubmoduleIgnoreRule)ignoreRule error:(NSError **)error;
120+
- (nullable GTSubmodule *)submoduleByUpdatingIgnoreRule:(GTSubmoduleIgnoreRule)ignoreRule error:(NSError **)error;
121121

122122
/// Synchronizes the submodule repository's configuration files with the settings
123123
/// from the parent repository.

ObjectiveGit/GTSubmodule.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ - (BOOL)sync:(NSError **)error {
139139
return YES;
140140
}
141141

142-
- (GTRepository *)submoduleRepository:(NSError **)error {
142+
- (nullable GTRepository *)submoduleRepository:(NSError **)error {
143143
git_repository *repo;
144144
int gitError = git_submodule_open(&repo, self.git_submodule);
145145
if (gitError != GIT_OK) {

0 commit comments

Comments
 (0)