diff --git a/src/darwin/Framework/CHIP/ServerEndpoint/MTRServerAttribute.h b/src/darwin/Framework/CHIP/ServerEndpoint/MTRServerAttribute.h index 3b62866ad89aae..144a00c97da2af 100644 --- a/src/darwin/Framework/CHIP/ServerEndpoint/MTRServerAttribute.h +++ b/src/darwin/Framework/CHIP/ServerEndpoint/MTRServerAttribute.h @@ -41,7 +41,7 @@ MTR_AVAILABLE(ios(17.6), macos(14.6), watchos(10.6), tvos(17.6)) * Will fail if the attribute ID is not valid per the Matter specification or * the attribute value is not a valid data-value. * - * requiredPrivilege is the privilege required to read the attribute. This + * requiredPrivilege is the privilege required to read the attribute. This * initializer may fail if the provided attributeID is a global attribute and * the provided requiredPrivilege value is not correct for that attribute ID. */ @@ -58,7 +58,7 @@ MTR_AVAILABLE(ios(17.6), macos(14.6), watchos(10.6), tvos(17.6)) /** * Create an attribute description for a FeatureMap attribute with the provided * value (expected to be an unsigned integer representing the value of the - * bitmap). This will automatically set requiredPrivilege to the right value + * bitmap). This will automatically set requiredPrivilege to the right value * for FeatureMap. */ + (MTRServerAttribute *)newFeatureMapAttributeWithInitialValue:(NSNumber *)value; diff --git a/src/darwin/Framework/CHIP/ServerEndpoint/MTRServerAttribute.mm b/src/darwin/Framework/CHIP/ServerEndpoint/MTRServerAttribute.mm index edd2c0936e62ac..359bbe1362b403 100644 --- a/src/darwin/Framework/CHIP/ServerEndpoint/MTRServerAttribute.mm +++ b/src/darwin/Framework/CHIP/ServerEndpoint/MTRServerAttribute.mm @@ -95,7 +95,7 @@ - (nullable instancetype)initWithAttributeID:(NSNumber *)attributeID value:(NSDi _writable = writable; _parentCluster = app::ConcreteClusterPath(kInvalidEndpointId, kInvalidClusterId); - // now store the value and its serialization. This will also check that the + // Now store the value and its serialization. This will also check that the // value is serializable to TLV. if ([self setValueInternal:value logIfNotAssociated:NO] == NO) { return nil;