Skip to content

Commit 5356a25

Browse files
wilhuffwu-hui
authored andcommitted
Better fix for typos in FIRDocumentSnapshot.h (#3923)
Actually fixes #3873.
1 parent 2d16171 commit 5356a25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Firestore/Source/Public/FIRDocumentSnapshot.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ NS_SWIFT_NAME(DocumentSnapshot)
7979
* exist.
8080
*
8181
* Server-provided timestamps that have not yet been set to their final value will be returned as
82-
* `NSNull`. You can use `dataWithOptions()` to configure this behavior.
82+
* `NSNull`. You can use `dataWithServerTimestampBehavior()` to configure this behavior.
8383
*
8484
* @return An `NSDictionary` containing all fields in the document or `nil` if the document doesn't
8585
* exist.
@@ -103,7 +103,7 @@ NS_SWIFT_NAME(DocumentSnapshot)
103103
* exist.
104104
*
105105
* The timestamps that have not yet been set to their final value will be returned as `NSNull`. The
106-
* can use `get(_:options:)` to configure this behavior.
106+
* can use `get(_:serverTimestampBehavior:)` to configure this behavior.
107107
*
108108
* @param field The field to retrieve.
109109
* @return The value contained in the field or `nil` if the document or field doesn't exist.
@@ -115,7 +115,7 @@ NS_SWIFT_NAME(DocumentSnapshot)
115115
* exist.
116116
*
117117
* The timestamps that have not yet been set to their final value will be returned as `NSNull`. The
118-
* can use `get(_:options:)` to configure this behavior.
118+
* can use `get(_:serverTimestampBehavior:)` to configure this behavior.
119119
*
120120
* @param field The field to retrieve.
121121
* @param serverTimestampBehavior Configures how server timestamps that have not yet been set to

0 commit comments

Comments
 (0)