소스 검색

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 {