Skip to content

Commit 92747f1

Browse files
committed
V8 termvectors
1 parent 3aa35fb commit 92747f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Contracts/MatchOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static function make(
1515
?string $operator = null,
1616
?string $fuzziness = null,
1717
?string $minimumShouldMatch = null,
18-
?string $analyzer = null
18+
?string $analyzer = null,
1919
): static {
2020
Assert::nullOrOneOf($operator, ['or', 'and']);
2121

src/ElasticClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ public function termvectors(string $indexName, array $dsl): array|Promise
4242
$this->queryLog?->log($indexName, $dsl);
4343

4444
return Response::array(
45-
$this->client->termvectors(array_filter([
45+
$this->client->termvectors([
4646
'index' => $indexName,
4747
'body' => $dsl,
48-
]))
48+
])
4949
);
5050
}
5151

0 commit comments

Comments
 (0)