Skip to content

Commit 4b15968

Browse files
committed
Static tests issues fixed
1 parent 1d3f5d3 commit 4b15968

File tree

42 files changed

+110
-135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+110
-135
lines changed

app/code/Magento/Backend/Block/System/Store/Store.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ class Store extends \Magento\Backend\Block\Widget\Grid\Container
2020
protected $_blockGroup = 'Magento_Backend';
2121

2222
/**
23+
* Class constructor
24+
*
2325
* @return void
2426
*/
2527
protected function _construct()

app/code/Magento/Backend/Block/Widget/Form/Renderer/Element.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class Element extends \Magento\Backend\Block\Template implements RendererInterfa
2929
protected $_template = 'Magento_Backend::widget/form/renderer/element.phtml';
3030

3131
/**
32+
* Get abstract element
33+
*
3234
* @return AbstractElement
3335
*/
3436
public function getElement()
@@ -37,6 +39,8 @@ public function getElement()
3739
}
3840

3941
/**
42+
* Render the element
43+
*
4044
* @param AbstractElement $element
4145
* @return string
4246
*/

app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/FilterInterface.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,23 @@
1616
interface FilterInterface
1717
{
1818
/**
19+
* Retrieve column related to filte
20+
*
1921
* @return Column
2022
*/
2123
public function getColumn();
2224

2325
/**
26+
* Set column related to filterr
27+
*
2428
* @param Column $column
2529
* @return AbstractFilter
2630
*/
2731
public function setColumn($column);
2832

2933
/**
34+
* Retrieve filter html
35+
*
3036
* @return string
3137
*/
3238
public function getHtml();

app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item/Additional/AdditionalInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
interface AdditionalInterface
1515
{
1616
/**
17+
* Create additional action from configuration
18+
*
1719
* @param array $configuration
1820
* @return $this
1921
*/

app/code/Magento/Backend/Model/Auth/Session.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ class Session extends \Magento\Framework\Session\SessionManager implements \Mage
3636
const XML_PATH_SESSION_LIFETIME = 'admin/security/session_lifetime';
3737

3838
/**
39-
* Whether it is the first page after successful login
40-
*
4139
* @var boolean
4240
*/
4341
protected $_isFirstAfterLogin;

app/code/Magento/Backend/Model/Widget/Grid/Row/GeneratorInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
interface GeneratorInterface
1515
{
1616
/**
17+
* Generate row url
18+
*
1719
* @param \Magento\Framework\DataObject $item
1820
* @return string
1921
*/

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ class Eav extends AbstractModifier
197197
private $localeCurrency;
198198

199199
/**
200-
* internal cache for attribute models
201200
* @var array
202201
*/
203202
private $attributesCache = [];

app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Collection.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
class Collection extends \Magento\Rule\Model\ResourceModel\Rule\Collection\AbstractCollection
1515
{
1616
/**
17-
* Store associated with rule entities information map
18-
*
1917
* @var array
2018
*/
2119
protected $_associatedEntitiesMap;
@@ -85,6 +83,8 @@ public function addAttributeInConditionFilter($attributeCode)
8583
}
8684

8785
/**
86+
* Map data for associated entities
87+
*
8888
* @param string $entityType
8989
* @param string $objectField
9090
* @throws \Magento\Framework\Exception\LocalizedException
@@ -118,6 +118,8 @@ protected function mapAssociatedEntities($entityType, $objectField)
118118
}
119119

120120
/**
121+
* Perform operations after collection load
122+
*
121123
* @return $this
122124
*/
123125
protected function _afterLoad()
@@ -153,8 +155,11 @@ public function addCustomerGroupFilter($customerGroupId)
153155
}
154156

155157
/**
158+
* Getter for _associatedEntitiesMap property
159+
*
156160
* @return array
157161
* @deprecated 100.1.0
162+
* phpstan:ignore
158163
*/
159164
private function getAssociatedEntitiesMap()
160165
{

app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Product/Price/Collection.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
1212
{
1313
/**
14+
* Class constructor
15+
*
1416
* @return void
1517
* @codeCoverageIgnore
1618
*/
@@ -24,6 +26,8 @@ protected function _construct()
2426
}
2527

2628
/**
29+
* Retrieve product id's
30+
*
2731
* @return array
2832
*/
2933
public function getProductIds()

app/code/Magento/ConfigurableProduct/Block/Product/View/Type/Configurable.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ class Configurable extends \Magento\Catalog\Block\Product\View\AbstractView
4343
protected $currentCustomer;
4444

4545
/**
46-
* Prices
47-
*
4846
* @var array
4947
*/
5048
protected $_prices = [];

0 commit comments

Comments
 (0)