Skip to content

Commit

Permalink
Fix IDE doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bakura10 committed Feb 10, 2015
1 parent c8c546e commit 59d6a52
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/Elastica/Aggregation/AbstractAggregation.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function getAggs()
* Add a sub-aggregation
* @param AbstractAggregation $aggregation
* @throws \Elastica\Exception\InvalidException
* @return AbstractAggregation
* @return static
*/
public function addAggregation(AbstractAggregation $aggregation)
{
Expand Down
4 changes: 2 additions & 2 deletions lib/Elastica/Aggregation/AbstractSimpleAggregation.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ abstract class AbstractSimpleAggregation extends AbstractAggregation
/**
* Set the field for this aggregation
* @param string $field the name of the document field on which to perform this aggregation
* @return AbstractSimpleAggregation
* @return static
*/
public function setField($field)
{
Expand All @@ -19,7 +19,7 @@ public function setField($field)
/**
* Set a script for this aggregation
* @param string|Script $script
* @return AbstractSimpleAggregation
* @return static
*/
public function setScript($script)
{
Expand Down
6 changes: 3 additions & 3 deletions lib/Elastica/Aggregation/Histogram.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct($name, $field, $interval)
/**
* Set the interval by which documents will be bucketed
* @param int $interval
* @return Histogram
* @return static
*/
public function setInterval($interval)
{
Expand All @@ -35,7 +35,7 @@ public function setInterval($interval)
* Set the bucket sort order
* @param string $order "_count", "_term", or the name of a sub-aggregation or sub-aggregation response field
* @param string $direction "asc" or "desc"
* @return Histogram
* @return static
*/
public function setOrder($order, $direction)
{
Expand All @@ -45,7 +45,7 @@ public function setOrder($order, $direction)
/**
* Set the minimum number of documents which must fall into a bucket in order for the bucket to be returned
* @param int $count set to 0 to include empty buckets
* @return Histogram
* @return static
*/
public function setMinimumDocumentCount($count)
{
Expand Down
4 changes: 2 additions & 2 deletions lib/Elastica/Aggregation/Range.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Range extends AbstractSimpleAggregation
* @param int|float $fromValue low end of this range, exclusive (greater than)
* @param int|float $toValue high end of this range, exclusive (less than)
* @param string $key customized key value
* @return Range
* @return static
* @throws \Elastica\Exception\InvalidException
*/
public function addRange($fromValue = null, $toValue = null, $key = null)
Expand All @@ -40,7 +40,7 @@ public function addRange($fromValue = null, $toValue = null, $key = null)
/**
* If set to true, a unique string key will be associated with each bucket, and ranges will be returned as an associative array
* @param bool $keyed
* @return Range
* @return static
*/
public function setKeyedResponse($keyed = true)
{
Expand Down
6 changes: 3 additions & 3 deletions lib/Elastica/Param.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected function _setRawParam($key, $value)
*
* @param string $key Key to set
* @param mixed $value Key Value
* @return \Elastica\Param
* @return static
*/
public function setParam($key, $value)
{
Expand All @@ -91,7 +91,7 @@ public function setParam($key, $value)
* Sets (overwrites) all params of this object
*
* @param array $params Parameter list
* @return \Elastica\Param
* @return static
*/
public function setParams(array $params)
{
Expand All @@ -107,7 +107,7 @@ public function setParams(array $params)
*
* @param string $key Param key
* @param mixed $value Value to set
* @return \Elastica\Param
* @return static
*/
public function addParam($key, $value)
{
Expand Down

0 comments on commit 59d6a52

Please sign in to comment.