Skip to content

Commit b0c7295

Browse files
committed
LYNX-100: Refactoring
1 parent 780c4e1 commit b0c7295

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

app/code/Magento/EavGraphQl/Model/Resolver/EntityTypeAttributesList.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99

1010
use Magento\Eav\Model\AttributeRepository;
1111
use Magento\Framework\GraphQl\Query\EnumLookup;
12-
use Magento\Framework\Api\SearchCriteriaInterface;
1312
use Magento\Framework\Api\SearchCriteriaBuilder;
1413
use Magento\Framework\GraphQl\Config\Element\Field;
1514
use Magento\Framework\GraphQl\Exception\GraphQlInputException;
16-
use Magento\Framework\GraphQl\Exception\GraphQlNoSuchEntityException;
1715
use Magento\Framework\GraphQl\Query\ResolverInterface;
1816
use Magento\Framework\GraphQl\Schema\Type\ResolveInfo;
1917
use Magento\Framework\Phrase;
@@ -39,9 +37,9 @@ class EntityTypeAttributesList implements ResolverInterface
3937
private EnumLookup $enumLookup;
4038

4139
/**
42-
* array
40+
* @var array
4341
*/
44-
private $resolvers;
42+
private array $resolvers;
4543

4644
/**
4745
* @param AttributeRepository $attributeRepository
@@ -99,7 +97,7 @@ public function resolve(
9997

10098
/**
10199
* Returns formatted list of attributes
102-
*
100+
*
103101
* @param array $attributesList
104102
* @return array
105103
*/

0 commit comments

Comments
 (0)