Skip to content

Commit 3c887c2

Browse files
authored
docs: fix NSDictionary in firebaseFunctions internal sources (#14965)
1 parent 3a3e8ec commit 3c887c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirebaseFunctions/Sources/Internal/FunctionsSerializer.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class FunctionsSerializer: Sendable {
2929
// - NSNull (note: `nil` collection values from a Swift caller will be treated as NSNull)
3030
// - NSNumber
3131
// - NSString
32-
// - NSDicionary
32+
// - NSDictionary
3333
// - NSArray
3434
func encode(_ object: Any) throws -> Any {
3535
if object is NSNull {
@@ -58,7 +58,7 @@ final class FunctionsSerializer: Sendable {
5858
// - NSNull (note: `nil` collection values from a Swift caller will be treated as NSNull)
5959
// - NSNumber
6060
// - NSString
61-
// - NSDicionary
61+
// - NSDictionary
6262
// - NSArray
6363
func decode(_ object: Any) throws -> Any {
6464
// Return these types as is. PORTING NOTE: Moved from the bottom of the func for readability.

0 commit comments

Comments
 (0)