src/module-elasticsuite-core/Search/Request/Query/MoreLikeThis.php
MoreLikeThis
has 16 functions (exceeds 10 allowed). Consider refactoring. Open
Open
class MoreLikeThis implements QueryInterface
{
/**
* @var string
*/
Method __construct
has 13 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
array $fields,
$like,
$minimumShouldMatch = self::DEFAULT_MINIMUM_SHOULD_MATCH,
$boostTerms = self::DEFAULT_BOOST_TERMS,
$minTermFreq = self::DEFAULT_MIN_TERM_FREQ,
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\MoreLikeThis
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\MoreLikeThis'
cannot override method returning '\Smile\ElasticsuiteCore\Search\Request\QueryInterface')
defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:50
Open
Open
public function setName($name): self
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\MoreLikeThis
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(parameter #1 with no type cannot replace original parameter with type 'string')
defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:50
Open
Open
public function setName($name): self
- Exclude checks
Default value for int
$includeOriginalDocs
can't be false
Open
Open
public function __construct(
- Exclude checks
Default value for int
$minimumShouldMatch
can't be string
Open
Open
public function __construct(
- Exclude checks