Skip to content

Commit

Permalink
removing double usage of processArray() closes #147
Browse files Browse the repository at this point in the history
  • Loading branch information
Simonas Šerlinskas committed Jan 30, 2017
1 parent 48df0dc commit 96b5d1b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Aggregation/Bucketing/DateHistogramAggregation.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public function getArray()
'field' => $this->getField(),
'interval' => $this->getInterval(),
];
$out = $this->processArray($out);

return $out;
}
Expand Down
2 changes: 0 additions & 2 deletions src/Aggregation/Metric/TopHitsAggregation.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ function ($val) {
}
);

$output = $this->processArray($output);

return empty($output) ? new \stdClass() : $output;
}
}

0 comments on commit 96b5d1b

Please sign in to comment.