@@ -4,7 +4,7 @@ |
||
4 | 4 | /* |
5 | 5 | Elasticsearch Adapter |
6 | 6 | */ |
7 | -Use Elasticsearch\Client; |
|
7 | +use Elasticsearch\Client; |
|
8 | 8 | |
9 | 9 | final class ElasticSearch implements Base |
10 | 10 | { |
@@ -201,6 +201,9 @@ |
||
201 | 201 | return 0; |
202 | 202 | } |
203 | 203 | |
204 | + /** |
|
205 | + * @param string[] $fields |
|
206 | + */ |
|
204 | 207 | public function find( |
205 | 208 | string $collection, |
206 | 209 | ?array $filters, |