Skip to content

Commit

Permalink
Rename resolve to resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
shoumikhin committed May 25, 2018
1 parent ba91f23 commit 57e094e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/FBLPromises/FBLPromise.m
Expand Up @@ -282,7 +282,7 @@ - (FBLPromise *)chainOnQueue:(dispatch_queue_t)queue

@implementation FBLPromise (DotSyntaxAdditions)

+ (FBLPromise* (^)(id __nullable))resolve {
+ (FBLPromise* (^)(id __nullable))resolved {
return ^(id resolution) {
return [self resolvedWith:resolution];
};
Expand Down
4 changes: 2 additions & 2 deletions Sources/FBLPromises/include/FBLPromise.h
Expand Up @@ -70,9 +70,9 @@ NS_ASSUME_NONNULL_BEGIN

/**
Convenience dot-syntax wrappers for FBLPromise.
Usage: FBLPromise.resolve(value)
Usage: FBLPromise.resolved(value)
*/
+ (FBLPromise* (^)(id __nullable))resolve FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE("");
+ (FBLPromise* (^)(id __nullable))resolved FBL_PROMISES_DOT_SYNTAX NS_SWIFT_UNAVAILABLE("");

@end

Expand Down

0 comments on commit 57e094e

Please sign in to comment.