File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
app/code/Magento/Braintree/Model Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,10 @@ class AvsEmsCodeMapper implements PaymentVerificationInterface
43
43
44
44
/**
45
45
* Gets payment AVS verification code.
46
- * Throws an exception if specified order payment has different payment method code.
47
46
*
48
47
* @param OrderPaymentInterface $orderPayment
49
48
* @return string
50
- * @throws \InvalidArgumentException
49
+ * @throws \InvalidArgumentException If specified order payment has different payment method code.
51
50
*/
52
51
public function getCode (OrderPaymentInterface $ orderPayment )
53
52
{
Original file line number Diff line number Diff line change @@ -42,11 +42,10 @@ class CvvEmsCodeMapper implements PaymentVerificationInterface
42
42
43
43
/**
44
44
* Gets payment CVV verification code.
45
- * Throws an exception if specified order payment has different payment method code.
46
45
*
47
46
* @param OrderPaymentInterface $orderPayment
48
47
* @return string
49
- * @throws \Exception
48
+ * @throws \InvalidArgumentException If specified order payment has different payment method code.
50
49
*/
51
50
public function getCode (OrderPaymentInterface $ orderPayment )
52
51
{
You can’t perform that action at this time.
0 commit comments