Skip to content

Commit acf2f18

Browse files
committed
Fix static test attempt 2 :)
1 parent af6f847 commit acf2f18

File tree

9 files changed

+23
-8
lines changed

9 files changed

+23
-8
lines changed

app/code/Magento/Catalog/Model/ProductLink/Link.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ protected function _get($key)
4040
*
4141
* @return array
4242
* @todo refactor with converter for AbstractExtensibleModel
43+
* phpcs:disable
4344
*/
4445
public function __toArray()
4546
{
47+
//phpcs:enable
4648
$data = $this->_data;
4749
$hasToArray = function ($model) {
4850
return is_object($model) && method_exists($model, '__toArray') && is_callable([$model, '__toArray']);

app/code/Magento/Customer/Ui/Component/Listing/AttributeRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Magento\Customer\Model\Indexer\Attribute\Filter;
1515

1616
/**
17-
* Class AttributeRepository
17+
* Attribute Repository Managment
1818
*/
1919
class AttributeRepository
2020
{

app/code/Magento/Customer/Ui/Component/Listing/Columns.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ class Columns extends \Magento\Ui\Component\Listing\Columns
3232
*/
3333
protected $inlineEditUpdater;
3434

35+
/**
36+
* @var ColumnFactory
37+
*/
38+
private $columnFactory;
39+
3540
/**
3641
* @var array
3742
*/

app/code/Magento/Eav/Model/Entity/Setup/PropertyMapperAbstract.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
*/
88
namespace Magento\Eav\Model\Entity\Setup;
99

10+
/**
11+
* @inheritdoc
12+
*/
1013
abstract class PropertyMapperAbstract implements PropertyMapperInterface
1114
{
1215
/**

app/code/Magento/Eav/Model/TypeLocator/SimpleType.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
namespace Magento\Eav\Model\TypeLocator;
88

9+
use Magento\Eav\Api\AttributeRepositoryInterface;
910
use Magento\Framework\Exception\NoSuchEntityException;
1011
use Magento\Framework\Reflection\TypeProcessor;
11-
use Magento\Eav\Api\AttributeRepositoryInterface;
1212
use Magento\Framework\Webapi\CustomAttribute\ServiceTypeListInterface;
1313
use Magento\Framework\Webapi\CustomAttributeTypeLocatorInterface;
1414

@@ -64,7 +64,9 @@ public function getType($attributeCode, $entityType)
6464
}
6565

6666
/**
67-
* @inheritDoc
67+
* Get data Types from service type list
68+
*
69+
* @return void
6870
*/
6971
public function getAllServiceDataInterfaces()
7072
{

app/code/Magento/Payment/Gateway/Data/Order/AddressAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Magento\Sales\Api\Data\OrderAddressInterface;
1010

1111
/**
12-
* Class AddressAdapter
12+
* @inheritdoc
1313
*/
1414
class AddressAdapter implements AddressAdapterInterface
1515
{

app/code/Magento/Payment/Gateway/Data/Quote/AddressAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Magento\Quote\Api\Data\AddressInterface;
1010

1111
/**
12-
* Class AddressAdapter
12+
* @inheritdoc
1313
*/
1414
class AddressAdapter implements AddressAdapterInterface
1515
{

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Magento\Framework\Exception\RemoteServiceUnavailableException;
1010

1111
/**
12-
* Abstract Ipn class
12+
* Abstract Ipn class for paypal
1313
*/
1414
class AbstractIpn
1515
{
@@ -42,6 +42,11 @@ class AbstractIpn
4242
*/
4343
protected $_curlFactory;
4444

45+
/**
46+
* @var \Psr\Log\LoggerInterface
47+
*/
48+
private $logger;
49+
4550
/**
4651
* @param \Magento\Paypal\Model\ConfigFactory $configFactory
4752
* @param \Psr\Log\LoggerInterface $logger

app/code/Magento/Ui/Component/AbstractComponent.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ protected function prepareChildComponent(UiComponentInterface $component)
142142

143143
/**
144144
* Produce and return block's html output
145-
*
146-
* @return string
147145
*/
148146
public function toHtml()
149147
{

0 commit comments

Comments
 (0)