فهرست منبع

Added missing @discardableResult

Roman Podymov 5 سال پیش
والد
کامیت
0d51327d01
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      SwiftyStoreKit/ProductsInfoController.swift

+ 1 - 0
SwiftyStoreKit/ProductsInfoController.swift

@@ -51,6 +51,7 @@ class ProductsInfoController: NSObject {
     // As we can have multiple inflight requests, we store them in a dictionary by product ids
     private var inflightRequests: [Set<String>: InAppProductQuery] = [:]
 
+    @discardableResult
     func retrieveProductsInfo(_ productIds: Set<String>, completion: @escaping (RetrieveResults) -> Void) -> InAppProductRequest {
 
         if inflightRequests[productIds] == nil {