Skip to content

Commit e4ac5b9

Browse files
authored
Fix documentation comments for the Container. (#4178)
1 parent 4d10f32 commit e4ac5b9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Firebase/Core/FIRComponentContainer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
@interface FIRComponentContainer ()
2727

28-
/// The dictionary of components that are registered for a particular app. The key is an NSString
28+
/// The dictionary of components that are registered for a particular app. The key is an `NSString`
2929
/// of the protocol.
3030
@property(nonatomic, strong) NSMutableDictionary<NSString *, FIRComponentCreationBlock> *components;
3131

Firebase/Core/Private/FIRComponentContainerInternal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ NS_ASSUME_NONNULL_BEGIN
2424

2525
@interface FIRComponentContainer (Private)
2626

27-
/// Initializes a contain for a given app. This should only be called by the app itself.
27+
/// Initializes a container for a given app. This should only be called by the app itself.
2828
- (instancetype)initWithApp:(FIRApp *)app;
2929

3030
/// Retrieves an instance that conforms to the specified protocol. This will return `nil` if the
31-
/// protocol wasn't registered, or if the instance couldn't instantiate for the provided app.
31+
/// protocol wasn't registered, or if the instance couldn't be instantiated for the provided app.
3232
- (nullable id)instanceForProtocol:(Protocol *)protocol NS_SWIFT_NAME(instance(for:));
3333

3434
/// Instantiates all the components that have registered as "eager" after initialization.

GoogleUtilitiesComponents/Sources/GULCCComponentContainer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
@interface GULCCComponentContainer ()
2929

30-
/// The dictionary of components that are registered for a particular app. The key is an NSString
30+
/// The dictionary of components that are registered for a particular app. The key is an `NSString`
3131
/// of the protocol.
3232
@property(nonatomic, strong)
3333
NSMutableDictionary<NSString *, GULCCComponentCreationBlock> *components;

GoogleUtilitiesComponents/Sources/Private/GULCCComponentContainerInternal.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ NS_ASSUME_NONNULL_BEGIN
2222

2323
@interface GULCCComponentContainer (Private)
2424

25-
/// Initializes a contain with a context.
25+
/// Initializes a container with a context.
2626
- (instancetype)initWithContext:(nullable id)context;
2727

28-
/// Initializes a contain with a context and a given set of registered `GULLibraries`.
28+
/// Initializes a container with a context and a given set of registered `GULLibraries`.
2929
- (instancetype)initWithContext:(nullable id)context
3030
registrants:(NSMutableSet<Class> *)allRegistrants;
3131

3232
/// Retrieves an instance that conforms to the specified protocol. This will return `nil` if the
33-
/// protocol wasn't registered, or if the instance couldn't instantiate for the provided app.
33+
/// protocol wasn't registered, or if the instance couldn't be instantiated for the provided app.
3434
- (nullable id)instanceForProtocol:(Protocol *)protocol NS_SWIFT_NAME(instance(for:));
3535

3636
/// Instantiates all the components that have registered as "eager" after initialization.

0 commit comments

Comments
 (0)