Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-core/Search/Request/RelevanceConfig/App/Config/ScopePool.php

Summary

Maintainability
A
35 mins
Test Coverage

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        \Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\ReaderPool $readerPool,
        \Magento\Framework\App\Config\DataFactory $dataFactory,
        \Magento\Framework\App\CacheInterface $cache,
        ScopeCodeResolver $scopeCodeResolver,
        $cacheId = 'default_config_cache'

    Assigning \Magento\Framework\App\CacheInterface to property but \Smile\ElasticsuiteCore\Search\Request\RelevanceConfig\App\Config\ScopePool->cache is \Magento\Framework\Cache\FrontendInterface
    Open

            $this->cache             = $cache;

    There are no issues that match your filters.

    Category
    Status