src/module-elasticsuite-catalog-graph-ql/Model/Resolver/Products.php
Method resolve
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function resolve(Field $field, $context, ResolveInfo $info, array $value = null, array $args = null)
Possibly zero references to use statement for classlike/namespace SearchCriteriaBuilder
(\Smile\ElasticsuiteCatalogGraphQl\DataProvider\Product\SearchCriteriaBuilder)
Open
Open
use Smile\ElasticsuiteCatalogGraphQl\DataProvider\Product\SearchCriteriaBuilder;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Search
(\Smile\ElasticsuiteCatalogGraphQl\Model\Resolver\Products\Query\Search)
Open
Open
use Smile\ElasticsuiteCatalogGraphQl\Model\Resolver\Products\Query\Search;
- Exclude checks
Argument 1 (args)
is ?array
but \Smile\ElasticsuiteCatalogGraphQl\Model\Resolver\Products::validateArgs()
takes array
defined at /code/src/module-elasticsuite-catalog-graph-ql/Model/Resolver/Products.php:95
Open
Open
$this->validateArgs($args);
- Exclude checks
Argument 1 (args)
is ?array
but \Smile\ElasticsuiteCatalogGraphQl\Model\Resolver\Products\ContextUpdater::updateSearchContext()
takes array
defined at /code/src/module-elasticsuite-catalog-graph-ql/Model/Resolver/Products/ContextUpdater.php:77
Open
Open
$this->contextUpdater->updateSearchContext($args);
- Exclude checks