Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-core/Index/Index.php

Summary

Maintainability
A
35 mins
Test Coverage

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

        $identifier,
        $name,
        $defaultSearchType,
        MappingInterface $mapping,
        $needInstall = false
Severity: Minor
Found in src/module-elasticsuite-core/Index/Index.php - About 35 mins to fix

    Returning type string but getDefaultSearchType() is declared to return \Smile\ElasticsuiteCore\Api\Index\TypeInterface
    Open

            return $this->defaultSearchType;

    Possibly zero references to use statement for classlike/namespace TypeInterface (\Smile\ElasticsuiteCore\Api\Index\TypeInterface)
    Open

    use Smile\ElasticsuiteCore\Api\Index\TypeInterface;

    There are no issues that match your filters.

    Category
    Status