src/module-elasticsuite-analytics/Model/Report/SearchRequestBuilder.php
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
\Smile\ElasticsuiteCore\Search\Request\Builder $searchRequestBuilder,
Context $context,
array $aggregationProviders = [],
array $queryProviders = [],
$containerName = 'tracking_log_event'
Argument 5 (query)
is null
but \Smile\ElasticsuiteCore\Search\Request\Builder::create()
takes \Smile\ElasticsuiteCore\Search\Request\QueryInterface|string
defined at /code/src/module-elasticsuite-core/Search/Request/Builder.php:136
Open
Open
return $this->searchRequestBuilder->create($storeId, $this->containerName, 0, 0, null, [], [], $searchQuery, $aggregations);
- Exclude checks