Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-catalog-optimizer/Model/Optimizer/Locator/RegistryLocator.php

Summary

Maintainability
A
30 mins
Test Coverage

Avoid too many return statements within this method.
Open

        return null;

    Returning type null but getOptimizer() is declared to return \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface
    Open

            return null;

    Returning type null but getOptimizer() is declared to return \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface
    Open

                return $this->optimizer;

    There are no issues that match your filters.

    Category
    Status