Skip to content

Commit 96b5d1b

Browse files
author
Simonas Šerlinskas
committed
removing double usage of processArray() closes #147
1 parent 48df0dc commit 96b5d1b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

Diff for: src/Aggregation/Bucketing/DateHistogramAggregation.php

-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ public function getArray()
8080
'field' => $this->getField(),
8181
'interval' => $this->getInterval(),
8282
];
83-
$out = $this->processArray($out);
8483

8584
return $out;
8685
}

Diff for: src/Aggregation/Metric/TopHitsAggregation.php

-2
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ function ($val) {
139139
}
140140
);
141141

142-
$output = $this->processArray($output);
143-
144142
return empty($output) ? new \stdClass() : $output;
145143
}
146144
}

0 commit comments

Comments
 (0)