File tree 1 file changed +3
-4
lines changed
src/darwin/Framework/CHIP
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3653,7 +3653,7 @@ - (void)removeClientDataForKey:(NSString *)key endpointID:(NSNumber *)endpointID
3653
3653
3654
3654
#pragma mark Log Help
3655
3655
3656
- - (NSNumber *)_informationalNumberAtAttributePath : (MTRAttributePath *)attributePath
3656
+ - (nullable NSNumber *)_informationalNumberAtAttributePath : (MTRAttributePath *)attributePath
3657
3657
{
3658
3658
auto * cachedData = [self _cachedAttributeValueForPath: attributePath];
3659
3659
@@ -3662,12 +3662,11 @@ - (NSNumber *)_informationalNumberAtAttributePath:(MTRAttributePath *)attributeP
3662
3662
MTRDataKey : cachedData,
3663
3663
}
3664
3664
error: nil ];
3665
- // REVIEWERS: is it worth logging the `error` above?
3666
3665
3667
3666
return attrReport.value ;
3668
3667
}
3669
3668
3670
- - (NSNumber *)_informationalVendorID
3669
+ - (nullable NSNumber *)_informationalVendorID
3671
3670
{
3672
3671
auto * vendorIDPath = [MTRAttributePath attributePathWithEndpointID: @(kRootEndpointId )
3673
3672
clusterID: @(MTRClusterIDTypeBasicInformationID)
@@ -3676,7 +3675,7 @@ - (NSNumber *)_informationalVendorID
3676
3675
return [self _informationalNumberAtAttributePath: vendorIDPath];
3677
3676
}
3678
3677
3679
- - (NSNumber *)_informationalProductID
3678
+ - (nullable NSNumber *)_informationalProductID
3680
3679
{
3681
3680
auto * productIDPath = [MTRAttributePath attributePathWithEndpointID: @(kRootEndpointId )
3682
3681
clusterID: @(MTRClusterIDTypeBasicInformationID)
You can’t perform that action at this time.
0 commit comments