diff --git a/app/code/Magento/OfflineShipping/Block/Adminhtml/Carrier/Tablerate/Grid.php b/app/code/Magento/OfflineShipping/Block/Adminhtml/Carrier/Tablerate/Grid.php index 91ed6c1a9e985..e7b105d6e2c3a 100644 --- a/app/code/Magento/OfflineShipping/Block/Adminhtml/Carrier/Tablerate/Grid.php +++ b/app/code/Magento/OfflineShipping/Block/Adminhtml/Carrier/Tablerate/Grid.php @@ -1,15 +1,13 @@ */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/OfflineShipping/Block/Adminhtml/Form/Field/Export.php b/app/code/Magento/OfflineShipping/Block/Adminhtml/Form/Field/Export.php index 1bd55cf5f1720..ec6f1fc32af5a 100644 --- a/app/code/Magento/OfflineShipping/Block/Adminhtml/Form/Field/Export.php +++ b/app/code/Magento/OfflineShipping/Block/Adminhtml/Form/Field/Export.php @@ -1,14 +1,12 @@ */ class Export extends \Magento\Framework\Data\Form\Element\AbstractElement { @@ -36,6 +34,8 @@ public function __construct( } /** + * Get elementHtml + * * @return string */ public function getElementHtml() diff --git a/app/code/Magento/OfflineShipping/Block/Adminhtml/Form/Field/Import.php b/app/code/Magento/OfflineShipping/Block/Adminhtml/Form/Field/Import.php index 77251070e90b5..ecfcc06dc12ec 100644 --- a/app/code/Magento/OfflineShipping/Block/Adminhtml/Form/Field/Import.php +++ b/app/code/Magento/OfflineShipping/Block/Adminhtml/Form/Field/Import.php @@ -1,18 +1,18 @@ */ class Import extends \Magento\Framework\Data\Form\Element\AbstractElement { /** + * Initialize Import + * * @return void */ protected function _construct() diff --git a/app/code/Magento/OfflineShipping/Model/Carrier/Freeshipping.php b/app/code/Magento/OfflineShipping/Model/Carrier/Freeshipping.php index 5db7fd3cf238a..182e1e116e6f9 100644 --- a/app/code/Magento/OfflineShipping/Model/Carrier/Freeshipping.php +++ b/app/code/Magento/OfflineShipping/Model/Carrier/Freeshipping.php @@ -1,13 +1,11 @@ */ namespace Magento\OfflineShipping\Model\Carrier; diff --git a/app/code/Magento/OfflineShipping/Model/Config/Backend/Tablerate.php b/app/code/Magento/OfflineShipping/Model/Config/Backend/Tablerate.php index ce7e0cdada535..1c6adc2c2ecf2 100644 --- a/app/code/Magento/OfflineShipping/Model/Config/Backend/Tablerate.php +++ b/app/code/Magento/OfflineShipping/Model/Config/Backend/Tablerate.php @@ -1,7 +1,7 @@ */ class Tablerate extends \Magento\Framework\App\Config\Value { @@ -44,6 +42,8 @@ public function __construct( } /** + * After save + * * @return $this */ public function afterSave() diff --git a/app/code/Magento/OfflineShipping/Model/ResourceModel/Carrier/Tablerate.php b/app/code/Magento/OfflineShipping/Model/ResourceModel/Carrier/Tablerate.php index 07517192a0a21..a4200b6015195 100644 --- a/app/code/Magento/OfflineShipping/Model/ResourceModel/Carrier/Tablerate.php +++ b/app/code/Magento/OfflineShipping/Model/ResourceModel/Carrier/Tablerate.php @@ -1,13 +1,11 @@ */ namespace Magento\OfflineShipping\Model\ResourceModel\Carrier; diff --git a/app/code/Magento/OfflineShipping/Model/SalesRule/Calculator.php b/app/code/Magento/OfflineShipping/Model/SalesRule/Calculator.php index dfc22896d2507..1f161c74c8335 100644 --- a/app/code/Magento/OfflineShipping/Model/SalesRule/Calculator.php +++ b/app/code/Magento/OfflineShipping/Model/SalesRule/Calculator.php @@ -1,13 +1,11 @@ */ namespace Magento\OfflineShipping\Model\SalesRule; diff --git a/app/code/Magento/OfflineShipping/Model/SalesRule/Rule.php b/app/code/Magento/OfflineShipping/Model/SalesRule/Rule.php index f601200b8ed45..19438301dab3d 100644 --- a/app/code/Magento/OfflineShipping/Model/SalesRule/Rule.php +++ b/app/code/Magento/OfflineShipping/Model/SalesRule/Rule.php @@ -1,13 +1,11 @@ */ namespace Magento\OfflineShipping\Model\SalesRule; @@ -20,10 +18,10 @@ class Rule /** * Free Shipping option "For matching items only" */ - const FREE_SHIPPING_ITEM = 1; + public const FREE_SHIPPING_ITEM = 1; /** * Free Shipping option "For shipment with matching items" */ - const FREE_SHIPPING_ADDRESS = 2; + public const FREE_SHIPPING_ADDRESS = 2; } diff --git a/app/code/Magento/OfflineShipping/Test/Unit/Block/Adminhtml/Form/Field/ImportTest.php b/app/code/Magento/OfflineShipping/Test/Unit/Block/Adminhtml/Form/Field/ImportTest.php index 062e428ef68b1..d9e047408f0cf 100644 --- a/app/code/Magento/OfflineShipping/Test/Unit/Block/Adminhtml/Form/Field/ImportTest.php +++ b/app/code/Magento/OfflineShipping/Test/Unit/Block/Adminhtml/Form/Field/ImportTest.php @@ -1,14 +1,12 @@ */ namespace Magento\OfflineShipping\Test\Unit\Block\Adminhtml\Form\Field; diff --git a/app/code/Magento/Payment/Model/Method/Online/GatewayInterface.php b/app/code/Magento/Payment/Model/Method/Online/GatewayInterface.php index 1344bf84baff4..b641a5843042a 100644 --- a/app/code/Magento/Payment/Model/Method/Online/GatewayInterface.php +++ b/app/code/Magento/Payment/Model/Method/Online/GatewayInterface.php @@ -1,7 +1,7 @@ */ interface GatewayInterface { diff --git a/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Details.php b/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Details.php index 65704480c1894..65ef982eace08 100644 --- a/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Details.php +++ b/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Details.php @@ -1,20 +1,17 @@ */ class Details extends \Magento\Backend\Block\Widget\Form\Container { /** - * Block construction - * Initialize titles, buttons + * Block construction Initialize titles, buttons * * @return void */ diff --git a/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Report.php b/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Report.php index 70c94650f2778..a0f84132c87c5 100644 --- a/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Report.php +++ b/app/code/Magento/Paypal/Block/Adminhtml/Settlement/Report.php @@ -1,7 +1,7 @@ * @since 100.0.2 */ class Report extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Paypal/Block/Express/Review.php b/app/code/Magento/Paypal/Block/Express/Review.php index fb64eaafe7217..a6dc98fd746ff 100644 --- a/app/code/Magento/Paypal/Block/Express/Review.php +++ b/app/code/Magento/Paypal/Block/Express/Review.php @@ -1,7 +1,7 @@ * @since 100.0.2 */ class Review extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Paypal/Block/Hosted/Pro/Form.php b/app/code/Magento/Paypal/Block/Hosted/Pro/Form.php index 70eff8f83ba99..64ee5e6e941de 100644 --- a/app/code/Magento/Paypal/Block/Hosted/Pro/Form.php +++ b/app/code/Magento/Paypal/Block/Hosted/Pro/Form.php @@ -1,14 +1,12 @@ */ class Form extends \Magento\Payment\Block\Form { diff --git a/app/code/Magento/Paypal/Block/Hosted/Pro/Iframe.php b/app/code/Magento/Paypal/Block/Hosted/Pro/Iframe.php index f67c8d6759a3c..28829635f0ed2 100644 --- a/app/code/Magento/Paypal/Block/Hosted/Pro/Iframe.php +++ b/app/code/Magento/Paypal/Block/Hosted/Pro/Iframe.php @@ -1,20 +1,17 @@ */ class Iframe extends \Magento\Paypal\Block\Iframe { /** - * Internal constructor - * Set payment method code + * Internal constructor Set payment method code * * @return void */ diff --git a/app/code/Magento/Paypal/Block/Hosted/Pro/Info.php b/app/code/Magento/Paypal/Block/Hosted/Pro/Info.php index 6d5277b0512f7..140f63862bd6d 100644 --- a/app/code/Magento/Paypal/Block/Hosted/Pro/Info.php +++ b/app/code/Magento/Paypal/Block/Hosted/Pro/Info.php @@ -1,13 +1,11 @@ */ namespace Magento\Paypal\Block\Hosted\Pro; diff --git a/app/code/Magento/Paypal/Block/Payflow/Advanced/Form.php b/app/code/Magento/Paypal/Block/Payflow/Advanced/Form.php index 159abd4e2f1bb..e08154b74c94f 100644 --- a/app/code/Magento/Paypal/Block/Payflow/Advanced/Form.php +++ b/app/code/Magento/Paypal/Block/Payflow/Advanced/Form.php @@ -1,14 +1,12 @@ */ class Form extends \Magento\Paypal\Block\Payflow\Link\Form { diff --git a/app/code/Magento/Paypal/Block/Payflow/Link/Form.php b/app/code/Magento/Paypal/Block/Payflow/Link/Form.php index fc880f494c859..550c28dfbe8f6 100644 --- a/app/code/Magento/Paypal/Block/Payflow/Link/Form.php +++ b/app/code/Magento/Paypal/Block/Payflow/Link/Form.php @@ -1,14 +1,12 @@ */ class Form extends \Magento\Payment\Block\Form { diff --git a/app/code/Magento/Paypal/Model/Hostedpro/Request.php b/app/code/Magento/Paypal/Model/Hostedpro/Request.php index 9e0e8f1b0ba9e..10d8fcf9e380a 100644 --- a/app/code/Magento/Paypal/Model/Hostedpro/Request.php +++ b/app/code/Magento/Paypal/Model/Hostedpro/Request.php @@ -1,7 +1,7 @@ */ class Request extends DataObject { diff --git a/app/code/Magento/Paypal/Model/Payflow/Request.php b/app/code/Magento/Paypal/Model/Payflow/Request.php index 05f90295cb7e8..2060d2c01a7aa 100644 --- a/app/code/Magento/Paypal/Model/Payflow/Request.php +++ b/app/code/Magento/Paypal/Model/Payflow/Request.php @@ -1,14 +1,12 @@ */ class Request extends \Magento\Framework\DataObject { diff --git a/app/code/Magento/Paypal/Model/Report/Settlement/Row.php b/app/code/Magento/Paypal/Model/Report/Settlement/Row.php index 2112d8344c3cc..f9cfe2c2d1cdb 100644 --- a/app/code/Magento/Paypal/Model/Report/Settlement/Row.php +++ b/app/code/Magento/Paypal/Model/Report/Settlement/Row.php @@ -1,7 +1,7 @@ */ class Row extends \Magento\Framework\Model\AbstractModel { @@ -52,8 +50,6 @@ class Row extends \Magento\Framework\Model\AbstractModel private $eventLabelsList = []; /** - * Cast amount relation - * * @var array */ private $castAmountRelation = [ @@ -72,8 +68,7 @@ protected function _construct() } /** - * Return description of Reference ID Type - * If no code specified, return full list of codes with their description + * Return description of Reference ID Type If no code specified, return full list of codes with their description * * @param string $code * @return string diff --git a/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Options/TransactionEvents.php b/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Options/TransactionEvents.php index ad47e7b84fe20..43945642ddfc2 100644 --- a/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Options/TransactionEvents.php +++ b/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Options/TransactionEvents.php @@ -1,14 +1,12 @@ */ class TransactionEvents implements \Magento\Framework\Option\ArrayInterface { @@ -26,7 +24,7 @@ public function __construct(\Magento\Paypal\Model\Report\Settlement\Row $model) } /** - * {@inheritdoc} + * @inheritdoc */ public function toOptionArray() { diff --git a/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Row.php b/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Row.php index 82485e07a0c8f..604608768086b 100644 --- a/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Row.php +++ b/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Row.php @@ -1,20 +1,17 @@ */ class Row extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { /** - * Resource model initialization. - * Set main entity table name and primary key field name. + * Resource model initialization.Set main entity table name and primary key field name. * * @return void */ diff --git a/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Row/Collection.php b/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Row/Collection.php index 81042b19481ac..af4d31ad2e72a 100644 --- a/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Row/Collection.php +++ b/app/code/Magento/Paypal/Model/ResourceModel/Report/Settlement/Row/Collection.php @@ -1,13 +1,11 @@ */ namespace Magento\Paypal\Model\ResourceModel\Report\Settlement\Row;