Skip to content

Commit 19d862a

Browse files
committed
style.sh
1 parent b70157c commit 19d862a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Firestore/Source/Local/FSTLocalDocumentsView.mm

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ - (nullable FSTMaybeDocument *)documentForKey:(const DocumentKey &)key {
6969

7070
// Internal version of documentForKey: which allows reusing `batches`.
7171
- (nullable FSTMaybeDocument *)documentForKey:(const DocumentKey &)key
72-
inBatches:(NSArray<FSTMutationBatch *> *)batches {
72+
inBatches:(NSArray<FSTMutationBatch *> *)batches {
7373
FSTMaybeDocument *_Nullable remoteDoc = [self.remoteDocumentCache entryForKey:key];
7474
return [self localDocument:remoteDoc key:key inBatches:batches];
7575
}
@@ -164,7 +164,7 @@ - (FSTDocumentDictionary *)documentsMatchingCollectionQuery:(FSTQuery *)query {
164164
*/
165165
- (nullable FSTMaybeDocument *)localDocument:(nullable FSTMaybeDocument *)document
166166
key:(const DocumentKey &)documentKey
167-
inBatches:(NSArray<FSTMutationBatch *> *)batches {
167+
inBatches:(NSArray<FSTMutationBatch *> *)batches {
168168
for (FSTMutationBatch *batch in batches) {
169169
document = [batch applyTo:document documentKey:documentKey];
170170
}
@@ -191,8 +191,7 @@ - (FSTDocumentDictionary *)localDocuments:(FSTDocumentDictionary *)documents {
191191
__block FSTDocumentDictionary *result = documents;
192192
[documents enumerateKeysAndObjectsUsingBlock:^(FSTDocumentKey *key, FSTDocument *remoteDocument,
193193
BOOL *stop) {
194-
FSTMaybeDocument *mutatedDoc =
195-
[self localDocument:remoteDocument key:key inBatches:batches];
194+
FSTMaybeDocument *mutatedDoc = [self localDocument:remoteDocument key:key inBatches:batches];
196195
if ([mutatedDoc isKindOfClass:[FSTDeletedDocument class]]) {
197196
result = [result dictionaryByRemovingObjectForKey:key];
198197
} else if ([mutatedDoc isKindOfClass:[FSTDocument class]]) {

0 commit comments

Comments
 (0)