Skip to content

Commit af0bfa4

Browse files
committed
Fix static valueCount
1 parent 0a81a23 commit af0bfa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Aggregation/Aggregation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ public static function stats(string $name): StatsAggregation
131131
return new StatsAggregation($name);
132132
}
133133

134-
public static function valueCount(string $name, string $field, array $aggregations = []): ValueCountAggregation
134+
public static function valueCount(string $name): ValueCountAggregation
135135
{
136-
return new ValueCountAggregation($name, $field, $aggregations);
136+
return new ValueCountAggregation($name);
137137
}
138138
}

0 commit comments

Comments
 (0)