diff options
author | Sebastian Schmidt <mrschmidt@google.com> | 2017-12-07 15:53:54 -0800 |
---|---|---|
committer | Sebastian Schmidt <mrschmidt@google.com> | 2017-12-07 16:03:40 -0800 |
commit | 904a141217d6ab84f1759dc504a9329bd74adf68 (patch) | |
tree | f4ea1924309bc3b718cd5b4ff759f7d04fb34184 /Firestore/Source/Model/FSTMutation.h | |
parent | a8948ced263e7d3ce870dff47cf7c29b12806247 (diff) |
Addressing all review comments
Diffstat (limited to 'Firestore/Source/Model/FSTMutation.h')
-rw-r--r-- | Firestore/Source/Model/FSTMutation.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Firestore/Source/Model/FSTMutation.h b/Firestore/Source/Model/FSTMutation.h index b2e7f5e..7c5f6de 100644 --- a/Firestore/Source/Model/FSTMutation.h +++ b/Firestore/Source/Model/FSTMutation.h @@ -198,18 +198,18 @@ typedef NS_ENUM(NSUInteger, FSTPreconditionExists) { * apply the transform if the prior mutation resulted in an FSTDocument (always true for an * FSTSetMutation, but not necessarily for an FSTPatchMutation). */ -- (FSTMaybeDocument *_Nullable)applyTo:(FSTMaybeDocument *_Nullable)maybeDoc - baseDoc:(FSTMaybeDocument *_Nullable)baseDoc +- (nullable FSTMaybeDocument *)applyTo:(nullable FSTMaybeDocument *)maybeDoc + baseDocument:(nullable FSTMaybeDocument *)baseDoc localWriteTime:(FSTTimestamp *)localWriteTime - mutationResult:(FSTMutationResult *_Nullable)mutationResult; + mutationResult:(nullable FSTMutationResult *)mutationResult; /** * A helper version of applyTo for applying mutations locally (without a mutation result from the * backend). */ -- (FSTMaybeDocument *_Nullable)applyTo:(FSTMaybeDocument *_Nullable)maybeDoc - baseDoc:(FSTMaybeDocument *_Nullable)baseDoc - localWriteTime:(FSTTimestamp *)localWriteTime; +- (nullable FSTMaybeDocument *)applyTo:(nullable FSTMaybeDocument *)maybeDoc + baseDocument:(nullable FSTMaybeDocument *)baseDoc + localWriteTime:(nullable FSTTimestamp *)localWriteTime; @property(nonatomic, strong, readonly) FSTDocumentKey *key; |