Skip to content

Commit

Permalink
added @return annotation to top_hits aggregation DSL method
Browse files Browse the repository at this point in the history
  • Loading branch information
webdevsHub committed Jan 14, 2015
1 parent 45e383e commit 5b0e7f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changes.txt
@@ -1,5 +1,8 @@
CHANGES

2015-01-14
- added @return annotation to top_hits aggregation DSL method

2015-01-07
- Added Elastica\Aggregation\TopHits #718

Expand Down
1 change: 1 addition & 0 deletions lib/Elastica/QueryBuilder/DSL/Aggregation.php
Expand Up @@ -182,6 +182,7 @@ public function geo_bounds($name)
*
* @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-top-hits-aggregation.html
* @param string $name
* @return TopHits
*/
public function top_hits($name)
{
Expand Down

0 comments on commit 5b0e7f6

Please sign in to comment.