@@ -586,6 +586,7 @@ public function validate()
586
586
* @return $this
587
587
* @throws \Magento\Framework\Exception\LocalizedException
588
588
* @api
589
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
589
590
*/
590
591
public function order (\Magento \Payment \Model \InfoInterface $ payment , $ amount )
591
592
{
@@ -603,6 +604,7 @@ public function order(\Magento\Payment\Model\InfoInterface $payment, $amount)
603
604
* @return $this
604
605
* @throws \Magento\Framework\Exception\LocalizedException
605
606
* @api
607
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
606
608
*/
607
609
public function authorize (\Magento \Payment \Model \InfoInterface $ payment , $ amount )
608
610
{
@@ -620,6 +622,7 @@ public function authorize(\Magento\Payment\Model\InfoInterface $payment, $amount
620
622
* @return $this
621
623
* @throws \Magento\Framework\Exception\LocalizedException
622
624
* @api
625
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
623
626
*/
624
627
public function capture (\Magento \Payment \Model \InfoInterface $ payment , $ amount )
625
628
{
@@ -638,6 +641,7 @@ public function capture(\Magento\Payment\Model\InfoInterface $payment, $amount)
638
641
* @return $this
639
642
* @throws \Magento\Framework\Exception\LocalizedException
640
643
* @api
644
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
641
645
*/
642
646
public function refund (\Magento \Payment \Model \InfoInterface $ payment , $ amount )
643
647
{
@@ -653,6 +657,7 @@ public function refund(\Magento\Payment\Model\InfoInterface $payment, $amount)
653
657
* @param \Magento\Framework\Object|InfoInterface $payment
654
658
* @return $this
655
659
* @api
660
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
656
661
*/
657
662
public function cancel (\Magento \Payment \Model \InfoInterface $ payment )
658
663
{
@@ -666,6 +671,7 @@ public function cancel(\Magento\Payment\Model\InfoInterface $payment)
666
671
* @return $this
667
672
* @throws \Magento\Framework\Exception\LocalizedException
668
673
* @api
674
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
669
675
*/
670
676
public function void (\Magento \Payment \Model \InfoInterface $ payment )
671
677
{
@@ -692,6 +698,7 @@ public function canReviewPayment()
692
698
* @return false
693
699
* @throws \Magento\Framework\Exception\LocalizedException
694
700
* @api
701
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
695
702
*/
696
703
public function acceptPayment (InfoInterface $ payment )
697
704
{
@@ -708,6 +715,7 @@ public function acceptPayment(InfoInterface $payment)
708
715
* @return false
709
716
* @throws \Magento\Framework\Exception\LocalizedException
710
717
* @api
718
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
711
719
*/
712
720
public function denyPayment (InfoInterface $ payment )
713
721
{
0 commit comments