Mirocow/yii2-elasticsearch

View on GitHub
src/components/queries/AggBuilder.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function dateHistogram($field, $dateHistogramOptions = [], $nestedAgg = null, $aggName = '', $keyAsString = true)
Severity: Minor
Found in src/components/queries/AggBuilder.php - About 35 mins to fix

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

        public function range($field, $ranges, $rangeOptions = [], $nestedAgg = null, $aggName = '')
    Severity: Minor
    Found in src/components/queries/AggBuilder.php - About 35 mins to fix

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

          public function filter($field, $query, $nestedAgg = null, $aggName = '', $filterKey = '')
      Severity: Minor
      Found in src/components/queries/AggBuilder.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status