summaryrefslogtreecommitdiff
path: root/vendor/ruflin/elastica/lib/Elastica/Aggregation/Nested.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ruflin/elastica/lib/Elastica/Aggregation/Nested.php')
-rw-r--r--vendor/ruflin/elastica/lib/Elastica/Aggregation/Nested.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/vendor/ruflin/elastica/lib/Elastica/Aggregation/Nested.php b/vendor/ruflin/elastica/lib/Elastica/Aggregation/Nested.php
index afbb8373..76407bc8 100644
--- a/vendor/ruflin/elastica/lib/Elastica/Aggregation/Nested.php
+++ b/vendor/ruflin/elastica/lib/Elastica/Aggregation/Nested.php
@@ -1,11 +1,10 @@
<?php
-
namespace Elastica\Aggregation;
/**
- * Class Nested
- * @package Elastica\Aggregation
- * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-nested-aggregation.html
+ * Class Nested.
+ *
+ * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-nested-aggregation.html
*/
class Nested extends AbstractAggregation
{
@@ -20,12 +19,14 @@ class Nested extends AbstractAggregation
}
/**
- * Set the nested path for this aggregation
+ * Set the nested path for this aggregation.
+ *
* @param string $path
- * @return Nested
+ *
+ * @return $this
*/
public function setPath($path)
{
- return $this->setParam("path", $path);
+ return $this->setParam('path', $path);
}
-} \ No newline at end of file
+}