Skip to content
Snippets Groups Projects
Commit f054de56 authored by Mantas Jonušas's avatar Mantas Jonušas
Browse files

Fixed coding style issues

parent 00975833
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,7 @@ class GeoPolygonFilter implements BuilderInterface
*/
public function toArray()
{
$query = [];
$query[$this->field] = ['points' => $this->points];
$output = $this->processArray($query);
......
......@@ -49,6 +49,7 @@ class IdsFilter implements BuilderInterface
*/
public function toArray()
{
$query = [];
$query['values'] = $this->values;
$output = $this->processArray($query);
......
......@@ -49,6 +49,7 @@ class MissingFilter implements BuilderInterface
*/
public function toArray()
{
$query = [];
$query['field'] = $this->field;
$output = $this->processArray($query);
......
......@@ -49,6 +49,7 @@ class NotFilter implements BuilderInterface
*/
public function toArray()
{
$query = [];
$query['filter'] = [$this->filter->getType() => $this->filter->toArray()];
$output = $this->processArray($query);
......
......@@ -53,6 +53,7 @@ class SpanMultiTermQuery implements SpanQueryInterface
*/
public function toArray()
{
$query = [];
$query['match'] = [$this->query->getType() => $this->query->toArray()];
$output = $this->processArray($query);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment