8000 [Environment] Rename parameter to avoid conflict with keyword by ncooke3 · Pull Request #154 · google/GoogleUtilities · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Environment] Rename parameter to avoid conflict with keyword #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions GoogleUtilities/Environment/GULSecureCoding.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ + (nullable id)unarchivedObjectOfClasses:(NSSet<Class> *)classes
return object;
}

+ (nullable id)unarchivedObjectOfClass:(Class)class
+ (nullable id)unarchivedObjectOfClass:(Class)aClass
fromData:(NSData *)data
error:(NSError **)outError {
return [self unarchivedObjectOfClasses:[NSSet setWithObject:class] fromData:data error:outError];
return [self unarchivedObjectOfClasses:[NSSet setWithObject:aClass] fromData:data error:outError];
}

+ (nullable NSData *)archivedDataWithRootObject:(id<NSCoding>)object error:(NSError **)outError {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ NS_ASSUME_NONNULL_BEGIN
fromData:(NSData *)data
error:(NSError **)outError;

+ (nullable id)unarchivedObjectOfClass:(Class)class
+ (nullable id)unarchivedObjectOfClass:(Class)aClass
fromData:(NSData *)data
error:(NSError **)outError;

Expand Down
Loading
0