src/module-elasticsuite-catalog-optimizer/Ui/Component/Optimizer/Form/DataProvider.php
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$name,
$primaryFieldName,
$requestFieldName,
OptimizerCollectionFactory $optimizerCollectionFactory,
PoolInterface $modifierPool,
Possibly zero references to use statement for classlike/namespace OptimizerInterface
(\Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface)
Open
Open
use Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface;
- Exclude checks
Possibly zero references to use statement for classlike/namespace UrlInterface
(\Magento\Backend\Model\UrlInterface)
Open
Open
use Magento\Backend\Model\UrlInterface;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Registry
(\Magento\Framework\Registry)
Open
Open
use Magento\Framework\Registry;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Optimizer
(\Smile\ElasticsuiteCatalogOptimizer\Model\Optimizer)
Open
Open
use Smile\ElasticsuiteCatalogOptimizer\Model\Optimizer;
- Exclude checks