Skip to content

Commit e668c84

Browse files
authored
Fix typo in some method documentations, md files and local variables (#13285)
1 parent c004a8e commit e668c84

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ To learn more about running tests with Swift Package Manager, visit the
182182
[Testing](#testing) section.
183183

184184
<!-- SwiftPM troubleshooting -->
185-
<!-- TODO: Common issues and fixes like resolve depencies & reset cache. -->
185+
<!-- TODO: Common issues and fixes like resolve dependencies & reset cache. -->
186186

187187
#### **[CocoaPods]**
188188

@@ -425,7 +425,7 @@ following criteria:
425425
2. The committed code has been styled in accordance with this repo's style
426426
guidelines.
427427
3. A CHANGELOG has been updated to reflect the PR's associated changes.
428-
4. Unit and/or integration tests have been added or updatd to test and
428+
4. Unit and/or integration tests have been added or updatde to test and
429429
validate the contribution's changes.
430430
5. Refer to the
431431
[Contributor License Agreement](#contributor-license-agreement) section below

FirebaseDynamicLinks/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Refer to the [README.md](https://github.com/firebase/firebase-ios-sdk/blob/main/
184184
- [changed] Removes dependency on the Core Location framework
185185

186186
# 1.2.0
187-
- [added] iOS 10 Supoort
187+
- [added] iOS 10 Support
188188

189189
# 1.1.1
190190
- [fixed] Fixes an issue where if resolveLink() API returned a non-JSON object, it

FirebaseDynamicLinks/Tests/Unit/FIRDynamicLinksTest.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -1774,8 +1774,8 @@ - (void)testInvalidCustomDomainNames {
17741774
- (void)removeAllFIRApps {
17751775
NSDictionary *apps = [FIRApp allApps];
17761776
for (FIRApp *app in apps.allValues) {
1777-
[app deleteApp:^(BOOL succes) {
1778-
if (!succes) {
1777+
[app deleteApp:^(BOOL success) {
1778+
if (!success) {
17791779
NSLog(@"Error deleting FIRApp before tests - config tests may fail.");
17801780
}
17811781
}];

FirebaseRemoteConfig.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ app update.
106106
'FirebaseRemoteConfig/Tests/Swift/ObjC/*.[hm]',
107107
]
108108
# Excludes tests that cannot be include in API tests because it requires fetch remote values from
109-
# a real console but only one test can be run without poluting other tests' remote values.
109+
# a real console but only one test can be run without polluting other tests' remote values.
110110
swift_api.exclude_files = ['FirebaseRemoteConfig/Tests/Swift/SwiftAPI/PropertyWrapperTests.swift']
111111
swift_api.resources = 'FirebaseRemoteConfig/Tests/Swift/Defaults-testInfo.plist'
112112
swift_api.requires_app_host = true

Firestore/Source/Public/FirebaseFirestore/FIRLocalCacheSettings.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ NS_SWIFT_NAME(PersistentCacheSettings)
4444
/**
4545
* Creates `PersistentCacheSettings` with default cache size: 100MB.
4646
*
47-
* The cache size is not a hard limit, but a target for the SDK's gabarge collector to work towards.
47+
* The cache size is not a hard limit, but a target for the SDK's garbage collector to work towards.
4848
*/
4949
- (instancetype)init;
5050

5151
/**
5252
* Creates `PersistentCacheSettings` with a custom cache size in bytes.
5353
*
54-
* The cache size is not a hard limit, but a target for the SDK's gabarge collector to work towards.
54+
* The cache size is not a hard limit, but a target for the SDK's garbage collector to work towards.
5555
*/
5656
- (instancetype)initWithSizeBytes:(NSNumber *)size;
5757

@@ -132,7 +132,7 @@ NS_SWIFT_NAME(MemoryCacheSettings)
132132

133133
/**
134134
* Creates an instance of `MemoryCacheSettings` with given `MemoryGarbageCollectorSettings` to
135-
* custom the gabarge collector.
135+
* custom the garbage collector.
136136
*/
137137
- (instancetype)initWithGarbageCollectorSettings:
138138
(id<FIRMemoryGarbageCollectorSettings, NSObject>)settings;

SwiftPackageManager.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
## Limitations
1010

1111
- Product availability varies by platform. See [the chart on this page](https://firebase.google.com/docs/ios/learn-more#firebase_library_support_by_platform)
12-
for information on product availabilty for each platform.
12+
for information on product availability for each platform.
1313

1414
## Installation
1515

0 commit comments

Comments
 (0)