Skip to content

Commit 06ecb2a

Browse files
ACPT-1327-without-ACPT-1327
fixing static test failures
1 parent 70d2e82 commit 06ecb2a

File tree

2 files changed

+5
-5
lines changed
  • app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider
  • dev/tests/api-functional/testsuite/Magento/GraphQl/PaymentGraphQl

2 files changed

+5
-5
lines changed

app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/DynamicField.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ class DynamicField implements FieldProviderInterface
4242
private $groupRepository;
4343

4444
/**
45-
* Search criteria builder.
46-
*
4745
* @var SearchCriteriaBuilder
4846
*/
4947
private $searchCriteriaBuilder;
@@ -82,7 +80,8 @@ class DynamicField implements FieldProviderInterface
8280
* @param AttributeProvider $attributeAdapterProvider
8381
* @param Collection $categoryCollection @deprecated @see $categoryCollectionFactory
8482
* @param StoreManagerInterface|null $storeManager
85-
* * @param CollectionFactory|null $categoryCollectionFactory
83+
* @param CollectionFactory|null $categoryCollectionFactory
84+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
8685
*/
8786
public function __construct(
8887
FieldTypeConverterInterface $fieldTypeConverter,
@@ -101,7 +100,8 @@ public function __construct(
101100
$this->indexTypeConverter = $indexTypeConverter;
102101
$this->fieldNameResolver = $fieldNameResolver;
103102
$this->attributeAdapterProvider = $attributeAdapterProvider;
104-
$this->categoryCollectionFactory = $categoryCollectionFactory ?: ObjectManager::getInstance()->get(CollectionFactory::class);
103+
$this->categoryCollectionFactory = $categoryCollectionFactory
104+
?: ObjectManager::getInstance()->get(CollectionFactory::class);
105105
$this->storeManager = $storeManager ?: ObjectManager::getInstance()->get(StoreManagerInterface::class);
106106
}
107107

dev/tests/api-functional/testsuite/Magento/GraphQl/PaymentGraphQl/StoreConfigTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
class StoreConfigTest extends GraphQlAbstract
1717
{
18-
const STORE_CONFIG_QUERY = <<<QUERY
18+
public const STORE_CONFIG_QUERY = <<<QUERY
1919
{
2020
storeConfig {
2121
zero_subtotal_enabled

0 commit comments

Comments
 (0)