Skip to content

Commit

Permalink
Fixed code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Volodymyr Kublytskyi committed Feb 7, 2019
1 parent 6ffb464 commit 4222ec2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/code/Magento/Payment/Model/Method/Cc.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
use Magento\Quote\Model\Quote\Payment;

/**
* Credit Card payment method legacy implementation.
*
* @method \Magento\Quote\Api\Data\PaymentMethodExtensionInterface getExtensionAttributes()
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @deprecated 100.0.8
Expand Down Expand Up @@ -93,6 +95,7 @@ public function __construct(
* @throws \Magento\Framework\Exception\LocalizedException
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
* @SuppressWarnings(PHPMD.NPathComplexity)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*/
public function validate()
{
Expand Down Expand Up @@ -205,6 +208,8 @@ public function validate()
}

/**
* Check if verification should be used.
*
* @return bool
* @api
*/
Expand All @@ -218,6 +223,8 @@ public function hasVerification()
}

/**
* Get list of credit cards verification reg exp.
*
* @return array
* @api
*/
Expand All @@ -242,6 +249,8 @@ public function getVerificationRegEx()
}

/**
* Validate expiration date
*
* @param string $expYear
* @param string $expMonth
* @return bool
Expand Down Expand Up @@ -292,6 +301,8 @@ public function assignData(\Magento\Framework\DataObject $data)
}

/**
* Get code for "other" credit cards.
*
* @param string $type
* @return bool
* @api
Expand Down

0 comments on commit 4222ec2

Please sign in to comment.