Skip to content

Commit 39d4514

Browse files
committed
Renamed amrClaim to AMRClaim to follow Google's Obj-c guideline for names starting with Acronyms
1 parent e46530d commit 39d4514

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

GoogleSignIn/Sources/GIDClaim.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ + (instancetype)essentialAuthTimeClaim {
4949
return [[self alloc] initWithName:kAuthTimeClaimName essential:YES];
5050
}
5151

52-
+ (instancetype)amrClaim {
52+
+ (instancetype)AMRClaim {
5353
return [[self alloc] initWithName:kAMRClaimName essential:NO];
5454
}
5555

GoogleSignIn/Sources/Public/GoogleSignIn/GIDClaim.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ extern NSString *const kAMRClaimName;
4444
+ (instancetype)essentialAuthTimeClaim;
4545

4646
/// Creates a *non-essential* (voluntary) "amr" claim object.
47-
+ (instancetype)amrClaim;
47+
+ (instancetype)AMRClaim;
4848

4949
/// Creates an *essential* "amr" claim object.
5050
+ (instancetype)essentialAMRClaim;

GoogleSignIn/Tests/Unit/GIDClaimTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ - (void)testEssentialAuthTimeClaim_PropertiesAreCorrect {
3434
}
3535

3636
- (void)testAMRClaim_PropertiesAreCorrect {
37-
GIDClaim *claim = [GIDClaim amrClaim];
37+
GIDClaim *claim = [GIDClaim AMRClaim];
3838
XCTAssertEqualObjects(claim.name, kAMRClaimName);
3939
XCTAssertFalse(claim.isEssential);
4040
}

0 commit comments

Comments
 (0)