Skip to content

Commit feac5fa

Browse files
author
Stanislav Idolov
committed
magento-engcom/magento2ce#2407: Fixed code style issues
1 parent 372110d commit feac5fa

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

app/code/Magento/Payment/Observer/SalesOrderBeforeSaveObserver.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
use Magento\Framework\Event\ObserverInterface;
1010

11+
/**
12+
* Verify order payment observer
13+
*/
1114
class SalesOrderBeforeSaveObserver implements ObserverInterface
1215
{
1316
/**

app/code/Magento/Paypal/Model/Payflowpro.php

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ public function void(\Magento\Payment\Model\InfoInterface $payment)
473473

474474
/**
475475
* Check void availability
476+
*
476477
* @return bool
477478
* @throws \Magento\Framework\Exception\LocalizedException
478479
*/
@@ -585,7 +586,7 @@ public function getConfig()
585586
}
586587

587588
/**
588-
* {inheritdoc}
589+
* @inheritdoc
589590
*/
590591
public function postRequest(DataObject $request, ConfigInterface $config)
591592
{
@@ -720,6 +721,8 @@ public function reviewPayment(InfoInterface $payment, $action)
720721
}
721722

722723
/**
724+
* Set billing address
725+
*
723726
* @param DataObject $request
724727
* @param DataObject $billing
725728
*
@@ -746,6 +749,8 @@ public function setBilling(DataObject $request, $billing)
746749
}
747750

748751
/**
752+
* Set shipping address
753+
*
749754
* @param DataObject $request
750755
* @param DataObject $shipping
751756
*
@@ -816,6 +821,8 @@ public function mapGatewayResponse(array $postData, DataObject $response)
816821
}
817822

818823
/**
824+
* Set transaction status
825+
*
819826
* @param DataObject $payment
820827
* @param DataObject $response
821828
*
@@ -849,6 +856,8 @@ public function setTransStatus($payment, $response)
849856
}
850857

851858
/**
859+
* Fill customer contacts
860+
*
852861
* @param DataObject $order
853862
* @param DataObject $request
854863
* @return DataObject
@@ -870,6 +879,7 @@ public function fillCustomerContacts(DataObject $order, DataObject $request)
870879

871880
/**
872881
* Add order details to payment request
882+
*
873883
* @param DataObject $request
874884
* @param Order $order
875885
* @return void
@@ -918,6 +928,8 @@ public function assignData(DataObject $data)
918928
}
919929

920930
/**
931+
* Make a transaction Inquiry Request
932+
*
921933
* @param InfoInterface $payment
922934
* @param string $transactionId
923935
* @return DataObject

0 commit comments

Comments
 (0)