src/module-elasticsuite-catalog/Model/Autocomplete/Product/DataProvider.php
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ItemFactory $itemFactory,
Collection\Provider $productCollectionProvider,
ConfigurationHelper $configurationHelper,
ContextInterface $searchContext,
$type = self::AUTOCOMPLETE_TYPE
Class \Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Fulltext\Collection
was passed to foreach, but it does not extend Traversable and none of its declared properties are accessible from this context. (This check excludes dynamic properties) Open
Open
foreach ($this->productCollection as $product) {
- Exclude checks