From bf3f86e66edcc22d787a99198118e7b2ad71ecd9 Mon Sep 17 00:00:00 2001 From: lipengwei <lipengwei@nianben.com> Date: Tue, 07 Jul 2020 08:43:24 +0800 Subject: [PATCH] 2.1.1 --- frameworks/AFNetworking.framework/Headers/AFURLRequestSerialization.h | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frameworks/AFNetworking.framework/Headers/AFURLRequestSerialization.h b/frameworks/AFNetworking.framework/Headers/AFURLRequestSerialization.h index 694696b..b17e871 100644 --- a/frameworks/AFNetworking.framework/Headers/AFURLRequestSerialization.h +++ b/frameworks/AFNetworking.framework/Headers/AFURLRequestSerialization.h @@ -216,7 +216,7 @@ @param block A block that defines a process of encoding parameters into a query string. This block returns the query string and takes three arguments: the request, the parameters to encode, and the error that occurred when attempting to encode parameters for the given request. */ -- (void)setQueryStringSerializationWithBlock:(nullable NSString * (^)(NSURLRequest *request, id parameters, NSError * __autoreleasing *error))block; +- (void)setQueryStringSerializationWithBlock:(nullable NSString * _Nullable (^)(NSURLRequest *request, id parameters, NSError * __autoreleasing *error))block; ///------------------------------- /// @name Creating Request Objects @@ -234,10 +234,10 @@ @return An `NSMutableURLRequest` object. */ -- (NSMutableURLRequest *)requestWithMethod:(NSString *)method - URLString:(NSString *)URLString - parameters:(nullable id)parameters - error:(NSError * _Nullable __autoreleasing *)error; +- (nullable NSMutableURLRequest *)requestWithMethod:(NSString *)method + URLString:(NSString *)URLString + parameters:(nullable id)parameters + error:(NSError * _Nullable __autoreleasing *)error; /** Creates an `NSMutableURLRequest` object with the specified HTTP method and URLString, and constructs a `multipart/form-data` HTTP body, using the specified parameters and multipart form data block. See http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.2 -- Gitblit v1.8.0