Skip to content

Commit

Permalink
Fix typos (firebase#12783)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrs1669 authored Apr 13, 2024
1 parent 70f7e77 commit ffedaed
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion FirebaseAnalytics/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This directory open sources select files from the Firebase Analytics SDK. Note
that there is no open source infastructure to build or package them.
that there is no open source infrastructure to build or package them.
2 changes: 1 addition & 1 deletion FirebaseAppDistribution/Sources/FIRFADApiService.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ typedef void (^FIRFADGenerateAuthTokenCompletion)(
// Label exceptions from AppDistributionApi calls.
FOUNDATION_EXPORT NSString *const kFIRFADApiErrorDomain;

// A service encapsulating calls to the App Distribtuion Tester API
// A service encapsulating calls to the App Distribution Tester API
@interface FIRFADApiService : NSObject

// Fetch releases from the AppDistribution Tester API
Expand Down
6 changes: 3 additions & 3 deletions FirebaseAppDistributionInternal/Sources/ApiService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ struct FeedbackReport: Codable {
do {
return try JSONDecoder().decode(T.self, from: data)
} catch let thrownError {
handleApiParserErorr(thrownError, &error)
handleApiParserError(thrownError, &error)
return nil
}
}
Expand All @@ -558,12 +558,12 @@ struct FeedbackReport: Codable {
options: JSONSerialization.ReadingOptions(rawValue: 0)
) as? T
} catch let thrownError {
handleApiParserErorr(thrownError, &error)
handleApiParserError(thrownError, &error)
return nil
}
}

static func handleApiParserErorr(_ thrownError: Error, _ error: inout Error?) {
static func handleApiParserError(_ thrownError: Error, _ error: inout Error?) {
let description: String = (thrownError as NSError)
.userInfo[NSLocalizedDescriptionKey] as? String ?? "Failed to parse response"
error = thrownError
Expand Down
2 changes: 1 addition & 1 deletion FirebaseDatabase/Sources/Core/View/Filter/FNodeFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
forNode:(FIndexedNode *)oldSnap;

/**
* Returns true if children might be filtered due to query critiera
* Returns true if children might be filtered due to query criteria
*/
- (BOOL)filtersNodes;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN

/** The key for the DL URL. */
FOUNDATION_EXPORT NSString *const kFDLResolvedLinkDeepLinkURLKey;
/** The key for the mininum iOS app version. */
/** The key for the minimum iOS app version. */
FOUNDATION_EXPORT NSString *const kFDLResolvedLinkMinAppVersionKey;

// Private interface for testing.
Expand Down
2 changes: 1 addition & 1 deletion FirebaseDynamicLinks/Sources/FIRDynamicLinks.m
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ + (NSString *)diagnosticAnalyzeEntitlements {
NSDictionary *plistMap = (NSDictionary *)plistData;

// analyze entitlements and print diagnostic information
// we can't detect erorrs, information p[rinted here may hint developer or will help support
// we can't detect errors, information p[rinted here may hint developer or will help support
// to identify the issue
NSMutableString *outputString = [[NSMutableString alloc] init];

Expand Down

0 comments on commit ffedaed

Please sign in to comment.