Skip to content

Commit d463713

Browse files
committed
MAGETWO-88631: Pr sprint 10 delivery
- fix static tests
1 parent 8d2920d commit d463713

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

app/code/Magento/CatalogGraphQl/Model/Layer/CollectionProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function __construct(
4040
/**
4141
* @param \Magento\Catalog\Model\Category $category
4242
* @return \Magento\CatalogSearch\Model\ResourceModel\Advanced\Collection
43+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
4344
*/
4445
public function getCollection(\Magento\Catalog\Model\Category $category)
4546
{

app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/Product.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ class Product
5656
* @var \Magento\Catalog\Model\Layer\Resolver
5757
*/
5858
private $layerResolver;
59-
60-
/**
61-
* @var \Magento\Catalog\Api\Data\ProductSearchResultsInterface
62-
*/
63-
private $searchResult;
64-
6559
/**
6660
* @var \Magento\Catalog\Model\ProductRepository
6761
*/

app/code/Magento/SwatchesGraphQl/Plugin/Filters/DataProviderPlugin.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ public function __construct(
5454
* @param Filters $subject
5555
* @param \Closure $proceed
5656
* @param string $layerType
57-
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
5857
* @return array
58+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
59+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
5960
*/
6061
public function aroundGetData(Filters $subject, \Closure $proceed, string $layerType)
6162
{

0 commit comments

Comments
 (0)