Skip to content

Commit

Permalink
Fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Solovev committed Jul 5, 2023
1 parent 766277a commit 5615713
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OmiseSDK/CreditCardFormViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@ public protocol OMSCreditCardFormViewControllerDelegate: AnyObject {
@available(*, unavailable,
message: "Implement the new -[OMSCreditCardFormViewControllerDelegate creditCardFormViewController:didSucceedWithToken:] instead",
renamed: "creditCardFormViewController(_:didSucceedWithToken:)")
// swiftlint:enable line_length
// swiftlint:disable:next attributes
@objc func creditCardForm(_ controller: CreditCardFormViewController, didSucceedWithToken token: __OmiseToken)

// swiftlint:disable line_length
@available(*, unavailable,
message: "Implement the new -[OMSCreditCardFormViewControllerDelegate creditCardFormViewController:didFailWithError:] instead",
renamed: "creditCardFormViewController(_:didFailWithError:)")
Expand Down

0 comments on commit 5615713

Please sign in to comment.