Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

Commit

Permalink
Oh boy, typo
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanda committed Nov 10, 2017
1 parent 59688e2 commit 272f0b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ElasticsearchDataSource.php
Expand Up @@ -40,7 +40,7 @@ public function __construct(Client $client, string $indexName, string $indexType

public function getCount(): int
{
$searchResult = $this->client->search($this->searchParamsBuilder->builderParams());
$searchResult = $this->client->search($this->searchParamsBuilder->buildParams());

return $searchResult['hits']['total'];
}
Expand All @@ -49,7 +49,7 @@ public function getCount(): int
public function getData(): array
{
if (empty($searchResult)) {
$searchResult = $this->client->search($this->searchParamsBuilder->builderParams());
$searchResult = $this->client->search($this->searchParamsBuilder->buildParams());
}

return array_map(
Expand Down

0 comments on commit 272f0b1

Please sign in to comment.