src/module-elasticsuite-core/Search/Request/Aggregation/Bucket/Metric.php
Method __construct
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$name,
$field,
array $metrics = [],
array $childBuckets = [],
array $pipelines = [],
Doc-block of $filter
in __construct
is phpdoc param type \Smile\ElasticsuiteCore\Search\Request\QueryInterface
which is not a permitted replacement of the nullable param type ?\Smile\ElasticsuiteCore\Search\Request\QueryInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param QueryInterface $filter Bucket filter.
- Exclude checks
Doc-block of $nestedFilter
in __construct
is phpdoc param type \Smile\ElasticsuiteCore\Search\Request\QueryInterface
which is not a permitted replacement of the nullable param type ?\Smile\ElasticsuiteCore\Search\Request\QueryInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param QueryInterface $nestedFilter Nested filter for the bucket.
- Exclude checks