Skip to content

Commit 4222ec2

Browse files
author
Volodymyr Kublytskyi
committed
Fixed code style.
1 parent 6ffb464 commit 4222ec2

File tree

1 file changed

+11
-0
lines changed
  • app/code/Magento/Payment/Model/Method

1 file changed

+11
-0
lines changed

app/code/Magento/Payment/Model/Method/Cc.php

+11
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
use Magento\Quote\Model\Quote\Payment;
1111

1212
/**
13+
* Credit Card payment method legacy implementation.
14+
*
1315
* @method \Magento\Quote\Api\Data\PaymentMethodExtensionInterface getExtensionAttributes()
1416
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1517
* @deprecated 100.0.8
@@ -93,6 +95,7 @@ public function __construct(
9395
* @throws \Magento\Framework\Exception\LocalizedException
9496
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
9597
* @SuppressWarnings(PHPMD.NPathComplexity)
98+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
9699
*/
97100
public function validate()
98101
{
@@ -205,6 +208,8 @@ public function validate()
205208
}
206209

207210
/**
211+
* Check if verification should be used.
212+
*
208213
* @return bool
209214
* @api
210215
*/
@@ -218,6 +223,8 @@ public function hasVerification()
218223
}
219224

220225
/**
226+
* Get list of credit cards verification reg exp.
227+
*
221228
* @return array
222229
* @api
223230
*/
@@ -242,6 +249,8 @@ public function getVerificationRegEx()
242249
}
243250

244251
/**
252+
* Validate expiration date
253+
*
245254
* @param string $expYear
246255
* @param string $expMonth
247256
* @return bool
@@ -292,6 +301,8 @@ public function assignData(\Magento\Framework\DataObject $data)
292301
}
293302

294303
/**
304+
* Get code for "other" credit cards.
305+
*
295306
* @param string $type
296307
* @return bool
297308
* @api

0 commit comments

Comments
 (0)