Skip to content

Commit c77adbe

Browse files
ENGCOM-5182: [Backport] #22899 Fix the issue with Incorrect return type at getListByCustomerId in PaymentTokenManagementInterface #22915
- Merge Pull Request #22915 from serhiyzhovnir/magento2:2.2-develop-PR-port-22914 - Merged commits: 1. 2f64553 2. f3ef754
2 parents 2dd907a + f3ef754 commit c77adbe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Vault/Api/PaymentTokenManagementInterface.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interface PaymentTokenManagementInterface
2020
* Lists payment tokens that match specified search criteria.
2121
*
2222
* @param int $customerId Customer ID.
23-
* @return \Magento\Vault\Api\Data\PaymentTokenSearchResultsInterface Payment token search result interface.
23+
* @return \Magento\Vault\Api\Data\PaymentTokenSearchResultsInterface[] Payment token search result interface.
2424
* @since 100.1.0
2525
*/
2626
public function getListByCustomerId($customerId);
@@ -56,6 +56,8 @@ public function getByGatewayToken($token, $paymentMethodCode, $customerId);
5656
public function getByPublicHash($hash, $customerId);
5757

5858
/**
59+
* Save token with payment link
60+
*
5961
* @param PaymentTokenInterface $token
6062
* @param OrderPaymentInterface $payment
6163
* @return bool

0 commit comments

Comments
 (0)