Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-catalog-optimizer/Model/Optimizer/Applier/AttributeValue.php

Summary

Maintainability
A
0 mins
Test Coverage

Call with 1 arg(s) to \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface::getConfig() which only takes 0 arg(s) defined at /code/src/module-elasticsuite-catalog-optimizer/Api/Data/OptimizerInterface.php:127
Open

        $attributeCode = $optimizer->getConfig('attribute_code');

Argument 1 (attribute) is \Magento\Catalog\Api\Data\ProductAttributeInterface but \Smile\ElasticsuiteCatalog\Helper\ProductAttribute::getFilterField() takes \Magento\Eav\Model\Entity\Attribute\AttributeInterface defined at /code/src/module-elasticsuite-catalog/Helper/AbstractAttribute.php:338
Open

            $field     = $this->mappingHelper->getFilterField($attribute);

Call with 1 arg(s) to \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface::getConfig() which only takes 0 arg(s) defined at /code/src/module-elasticsuite-catalog-optimizer/Api/Data/OptimizerInterface.php:127
Open

        $scaleFactor = (float) $optimizer->getConfig('scale_factor');

Call with 1 arg(s) to \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface::getConfig() which only takes 0 arg(s) defined at /code/src/module-elasticsuite-catalog-optimizer/Api/Data/OptimizerInterface.php:127
Open

                'modifier' => $optimizer->getConfig('scale_function'),

There are no issues that match your filters.

Category
Status