Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-core/Search/Request/Query/Span/SpanNear.php

Summary

Maintainability
A
35 mins
Test Coverage

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

        array  $clauses = [],
        int    $slop = 12,
        bool   $inOrder = true,
        string $name = null,
        string $boost = QueryInterface::DEFAULT_BOOST_VALUE
Severity: Minor
Found in src/module-elasticsuite-core/Search/Request/Query/Span/SpanNear.php - About 35 mins to fix

    syntax error, unexpected 'int' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
    Open

        private int $slop;

    There are no issues that match your filters.

    Category
    Status