Merge pull request #715 from stripe/bg-fix-lint-issues
Fix lint and analyzer issues
This commit is contained in:
commit
693ca110ed
|
@ -105,8 +105,8 @@ typedef NS_ENUM(NSUInteger, STPBillingAddressFields) {
|
|||
* @param address The user's shipping address. If nil, this method will return nil.
|
||||
* @param method The user's selected shipping method. May be nil.
|
||||
*/
|
||||
+ (NSDictionary *)shippingInfoForChargeWithAddress:(nullable STPAddress *)address
|
||||
shippingMethod:(nullable PKShippingMethod *)method;
|
||||
+ (nullable NSDictionary *)shippingInfoForChargeWithAddress:(nullable STPAddress *)address
|
||||
shippingMethod:(nullable PKShippingMethod *)method;
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated"
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
return nil;
|
||||
}
|
||||
|
||||
STPCustomer *customer = [STPCustomer new];
|
||||
STPCustomer *customer = [[self class] new];
|
||||
customer.stripeID = dict[@"id"];
|
||||
NSString *defaultSourceId;
|
||||
if ([dict[@"default_source"] isKindOfClass:[NSString class]]) {
|
||||
|
|
Loading…
Reference in New Issue