src/module-elasticsuite-core/Search/Request/Aggregation/Bucket/DateHistogram.php
Method __construct
has 13 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
Default value for int
$interval
can't be string
Open
Open
public function __construct(
- Exclude checks
Returning type string
but getFixedInterval()
is declared to return int
Open
Open
return $this->fixedInterval;
- Exclude checks
Returning type string
but getCalendarInterval()
is declared to return int
Open
Open
return $this->calendarInterval;
- 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