Commit f3e63558 authored by Dorian Villet's avatar Dorian Villet

Fixing bad PHPDocs for methods.

parent 92a1d2c9
...@@ -750,8 +750,8 @@ class Client extends Configurable ...@@ -750,8 +750,8 @@ class Client extends Configurable
/** /**
* Execute a query * Execute a query
* *
* @param QueryInterface * @param QueryInterface $query
* @param Endpoint|string|null * @param Endpoint|string|null $endpoint
* @return ResultInterface * @return ResultInterface
*/ */
public function execute(QueryInterface $query, $endpoint = null) public function execute(QueryInterface $query, $endpoint = null)
...@@ -819,8 +819,8 @@ class Client extends Configurable ...@@ -819,8 +819,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the * @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API. * execute method, thus allowing for an easy to use and clean API.
* *
* @param \Solarium\QueryType\Ping\Query $query * @param QueryInterface|\Solarium\QueryType\Ping\Query $query
* @param Endpoint|string|null * @param Endpoint|string|null $endpoint
* @return \Solarium\QueryType\Ping\Result * @return \Solarium\QueryType\Ping\Result
*/ */
public function ping(QueryInterface $query, $endpoint = null) public function ping(QueryInterface $query, $endpoint = null)
...@@ -845,8 +845,8 @@ class Client extends Configurable ...@@ -845,8 +845,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the * @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API. * execute method, thus allowing for an easy to use and clean API.
* *
* @param \Solarium\QueryType\Update\Query\Query $query * @param QueryInterface|\Solarium\QueryType\Update\Query\Query $query
* @param Endpoint|string|null * @param Endpoint|string|null $endpoint
* @return \Solarium\QueryType\Update\Result * @return \Solarium\QueryType\Update\Result
*/ */
public function update(QueryInterface $query, $endpoint = null) public function update(QueryInterface $query, $endpoint = null)
...@@ -870,8 +870,8 @@ class Client extends Configurable ...@@ -870,8 +870,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the * @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API. * execute method, thus allowing for an easy to use and clean API.
* *
* @param \Solarium\QueryType\Select\Query\Query $query * @param QueryInterface|\Solarium\QueryType\Select\Query\Query $query
* @param Endpoint|string|null * @param Endpoint|string|null $endpoint
* @return \Solarium\QueryType\Select\Result\Result * @return \Solarium\QueryType\Select\Result\Result
*/ */
public function select(QueryInterface $query, $endpoint = null) public function select(QueryInterface $query, $endpoint = null)
...@@ -895,8 +895,8 @@ class Client extends Configurable ...@@ -895,8 +895,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the * @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API. * execute method, thus allowing for an easy to use and clean API.
* *
* @param \Solarium\QueryType\MoreLikeThis\Query $query * @param QueryInterface|\Solarium\QueryType\MoreLikeThis\Query $query
* @param Endpoint * @param Endpoint|string|null $endpoint
* @return \Solarium\QueryType\MoreLikeThis\Result * @return \Solarium\QueryType\MoreLikeThis\Result
*/ */
public function moreLikeThis(QueryInterface $query, $endpoint = null) public function moreLikeThis(QueryInterface $query, $endpoint = null)
...@@ -910,8 +910,8 @@ class Client extends Configurable ...@@ -910,8 +910,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the * @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API. * execute method, thus allowing for an easy to use and clean API.
* *
* @param \Solarium\QueryType\Analysis\Query\Document|\Solarium\QueryType\Analysis\Query\Field $query * @param QueryInterface|\Solarium\QueryType\Analysis\Query\Document|\Solarium\QueryType\Analysis\Query\Field $query
* @param Endpoint * @param Endpoint|string|null $endpoint
* @return \Solarium\QueryType\Analysis\Result\Document|\Solarium\QueryType\Analysis\Result\Field * @return \Solarium\QueryType\Analysis\Result\Document|\Solarium\QueryType\Analysis\Result\Field
*/ */
public function analyze(QueryInterface $query, $endpoint = null) public function analyze(QueryInterface $query, $endpoint = null)
...@@ -925,8 +925,8 @@ class Client extends Configurable ...@@ -925,8 +925,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the * @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API. * execute method, thus allowing for an easy to use and clean API.
* *
* @param \Solarium\QueryType\Terms\Query $query * @param QueryInterface|\Solarium\QueryType\Terms\Query $query
* @param Endpoint|string|null * @param Endpoint|string|null $endpoint
* @return \Solarium\QueryType\Terms\Result * @return \Solarium\QueryType\Terms\Result
*/ */
public function terms(QueryInterface $query, $endpoint = null) public function terms(QueryInterface $query, $endpoint = null)
...@@ -940,8 +940,8 @@ class Client extends Configurable ...@@ -940,8 +940,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the * @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API. * execute method, thus allowing for an easy to use and clean API.
* *
* @param \Solarium\QueryType\Suggester\Query $query * @param QueryInterface|\Solarium\QueryType\Suggester\Query $query
* @param Endpoint|string|null * @param Endpoint|string|null $endpoint
* @return \Solarium\QueryType\Suggester\Result\Result * @return \Solarium\QueryType\Suggester\Result\Result
*/ */
public function suggester(QueryInterface $query, $endpoint = null) public function suggester(QueryInterface $query, $endpoint = null)
...@@ -955,8 +955,8 @@ class Client extends Configurable ...@@ -955,8 +955,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the * @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API. * execute method, thus allowing for an easy to use and clean API.
* *
* @param \Solarium\QueryType\Extract\Query $query * @param QueryInterface|\Solarium\QueryType\Extract\Query $query
* @param Endpoint|string|null * @param Endpoint|string|null $endpoint
* @return \Solarium\QueryType\Extract\Result * @return \Solarium\QueryType\Extract\Result
*/ */
public function extract(QueryInterface $query, $endpoint = null) public function extract(QueryInterface $query, $endpoint = null)
...@@ -970,8 +970,8 @@ class Client extends Configurable ...@@ -970,8 +970,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the * @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API. * execute method, thus allowing for an easy to use and clean API.
* *
* @param \Solarium\QueryType\RealtimeGet\Query $query * @param QueryInterface|\Solarium\QueryType\RealtimeGet\Query $query
* @param Endpoint|string|null * @param Endpoint|string|null $endpoint
* @return \Solarium\QueryType\RealtimeGet\Result * @return \Solarium\QueryType\RealtimeGet\Result
*/ */
public function realtimeGet(QueryInterface $query, $endpoint = null) public function realtimeGet(QueryInterface $query, $endpoint = null)
......
...@@ -67,7 +67,6 @@ class Configurable implements ConfigurableInterface ...@@ -67,7 +67,6 @@ class Configurable implements ConfigurableInterface
* *
* @throws InvalidArgumentException * @throws InvalidArgumentException
* @param array|\Zend_Config $options * @param array|\Zend_Config $options
* @return void
*/ */
public function __construct($options = null) public function __construct($options = null)
{ {
......
...@@ -59,7 +59,6 @@ interface ConfigurableInterface ...@@ -59,7 +59,6 @@ interface ConfigurableInterface
* *
* @throws InvalidArgumentException * @throws InvalidArgumentException
* @param array|\Zend_Config $options * @param array|\Zend_Config $options
* @return void
*/ */
public function __construct($options = null); public function __construct($options = null);
......
...@@ -65,7 +65,7 @@ class PostCreateQuery extends Event ...@@ -65,7 +65,7 @@ class PostCreateQuery extends Event
* Event constructor * Event constructor
* *
* @param string $type * @param string $type
* @param array $query * @param array $options
* @param QueryInterface $query * @param QueryInterface $query
*/ */
public function __construct($type, $options, QueryInterface $query) public function __construct($type, $options, QueryInterface $query)
......
...@@ -61,6 +61,7 @@ class PostCreateRequest extends Event ...@@ -61,6 +61,7 @@ class PostCreateRequest extends Event
* Event constructor * Event constructor
* *
* @param QueryInterface $query * @param QueryInterface $query
* @param Request $request
*/ */
public function __construct(QueryInterface $query, Request $request) public function __construct(QueryInterface $query, Request $request)
{ {
......
...@@ -65,7 +65,7 @@ class PreCreateQuery extends Event ...@@ -65,7 +65,7 @@ class PreCreateQuery extends Event
* Event constructor * Event constructor
* *
* @param string $type * @param string $type
* @param array|null $query * @param array|null $options
*/ */
public function __construct($type, $options) public function __construct($type, $options)
{ {
......
...@@ -458,8 +458,8 @@ class Helper ...@@ -458,8 +458,8 @@ class Helper
* *
* @see http://wiki.apache.org/solr/CommonQueryParameters#Caching_of_filters * @see http://wiki.apache.org/solr/CommonQueryParameters#Caching_of_filters
* *
* @param boolean $useCache * @param boolean $useCache
* @param float|null $weight * @param float|null $cost
* @return string * @return string
*/ */
public function cacheControl($useCache, $cost = null) public function cacheControl($useCache, $cost = null)
......
...@@ -50,7 +50,7 @@ abstract class RequestBuilder implements RequestBuilderInterface ...@@ -50,7 +50,7 @@ abstract class RequestBuilder implements RequestBuilderInterface
/** /**
* Build request for a select query * Build request for a select query
* *
* @param Query $query * @param QueryInterface|Query $query
* @return Request * @return Request
*/ */
public function build(QueryInterface $query) public function build(QueryInterface $query)
......
...@@ -90,7 +90,6 @@ class Result implements ResultInterface ...@@ -90,7 +90,6 @@ class Result implements ResultInterface
* @param Client $client * @param Client $client
* @param Query $query * @param Query $query
* @param Response $response * @param Response $response
* @return void
*/ */
public function __construct($client, $query, $response) public function __construct($client, $query, $response)
{ {
......
...@@ -74,7 +74,11 @@ class PreCommit extends Event ...@@ -74,7 +74,11 @@ class PreCommit extends Event
/** /**
* Event constructor * Event constructor
* *
* @param array $buffer * @param array $buffer
* @param boolean $overwrite
* @param boolean $softCommit
* @param boolean $waitSearcher
* @param boolean $expungeDeletes
*/ */
public function __construct($buffer, $overwrite, $softCommit, $waitSearcher, $expungeDeletes) public function __construct($buffer, $overwrite, $softCommit, $waitSearcher, $expungeDeletes)
{ {
......
...@@ -51,7 +51,7 @@ class Document extends BaseRequestBuilder ...@@ -51,7 +51,7 @@ class Document extends BaseRequestBuilder
/** /**
* Build request for an analysis document query * Build request for an analysis document query
* *
* @param QueryDocument $query * @param QueryInterface|QueryDocument $query
* @return Request * @return Request
*/ */
public function build(QueryInterface $query) public function build(QueryInterface $query)
......
...@@ -50,7 +50,7 @@ class Field extends RequestBuilder ...@@ -50,7 +50,7 @@ class Field extends RequestBuilder
/** /**
* Build request for an analysis field query * Build request for an analysis field query
* *
* @param QueryField $query * @param QueryInterface|QueryField $query
* @return Request * @return Request
*/ */
public function build(QueryInterface $query) public function build(QueryInterface $query)
......
...@@ -52,7 +52,7 @@ class RequestBuilder extends BaseRequestBuilder ...@@ -52,7 +52,7 @@ class RequestBuilder extends BaseRequestBuilder
/** /**
* Build request for an analysis query * Build request for an analysis query
* *
* @param Query $query * @param QueryInterface|Query $query
* @return Request * @return Request
*/ */
public function build(QueryInterface $query) public function build(QueryInterface $query)
......
...@@ -53,7 +53,7 @@ class RequestBuilder extends SelectRequestBuilder ...@@ -53,7 +53,7 @@ class RequestBuilder extends SelectRequestBuilder
/** /**
* Build request for a MoreLikeThis query * Build request for a MoreLikeThis query
* *
* @param Query $query * @param QueryInterface|Query $query
* @return Request * @return Request
*/ */
public function build(QueryInterface $query) public function build(QueryInterface $query)
......
...@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder ...@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder
/** /**
* Build request for a ping query * Build request for a ping query
* *
* @param Query $query * @param QueryInterface|Query $query
* @return Request * @return Request
*/ */
public function build(QueryInterface $query) public function build(QueryInterface $query)
......
...@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder ...@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder
/** /**
* Build request for a ping query * Build request for a ping query
* *
* @param Query $query * @param QueryInterface|Query $query
* @return Request * @return Request
*/ */
public function build(QueryInterface $query) public function build(QueryInterface $query)
......
...@@ -77,7 +77,8 @@ abstract class Component extends Configurable ...@@ -77,7 +77,8 @@ abstract class Component extends Configurable
/** /**
* Set parent query instance * Set parent query instance
* *
* @return self Provides fluent interface * @param Query $instance
* @return self Provides fluent interface
*/ */
public function setQueryInstance(Query $instance) public function setQueryInstance(Query $instance)
{ {
......
...@@ -787,7 +787,7 @@ class Highlighting extends Component ...@@ -787,7 +787,7 @@ class Highlighting extends Component
/** /**
* Get MultiValuedSeparatorChar option * Get MultiValuedSeparatorChar option
* *
* @return $separator * @return string
*/ */
public function getMultiValuedSeparatorChar() public function getMultiValuedSeparatorChar()
{ {
......
...@@ -209,7 +209,7 @@ class FilterQuery extends Configurable ...@@ -209,7 +209,7 @@ class FilterQuery extends Configurable
* *
* This overwrites any existing tags * This overwrites any existing tags
* *
* @param array $filterQueries * @param array $tags
* @return self Provides fluent interface * @return self Provides fluent interface
*/ */
public function setTags($tags) public function setTags($tags)
......
...@@ -802,8 +802,8 @@ class Query extends BaseQuery ...@@ -802,8 +802,8 @@ class Query extends BaseQuery
* *
* @throws OutOfBoundsException * @throws OutOfBoundsException
* @param string $key Use one of the constants * @param string $key Use one of the constants
* @param string $autoload Class to autoload if component needs to be created * @param string|boolean $autoload Class to autoload if component needs to be created
* @param array $config Configuration to use for autoload * @param array|null $config Configuration to use for autoload
* @return object|null * @return object|null
*/ */
public function getComponent($key, $autoload = false, $config = null) public function getComponent($key, $autoload = false, $config = null)
......
...@@ -51,7 +51,7 @@ class RequestBuilder extends BaseRequestBuilder ...@@ -51,7 +51,7 @@ class RequestBuilder extends BaseRequestBuilder
/** /**
* Build request for a select query * Build request for a select query
* *
* @param SelectQuery $query * @param QueryInterface|SelectQuery $query
* @return Request * @return Request
*/ */
public function build(QueryInterface $query) public function build(QueryInterface $query)
......
...@@ -54,8 +54,7 @@ class DocumentSet implements \IteratorAggregate, \Countable ...@@ -54,8 +54,7 @@ class DocumentSet implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param array $docs * @param array $docs
* @return void
*/ */
public function __construct($docs) public function __construct($docs)
{ {
......
...@@ -61,9 +61,8 @@ class Timing implements \IteratorAggregate, \Countable ...@@ -61,9 +61,8 @@ class Timing implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param float $time * @param float $time
* @param array $phases * @param array $phases
* @return void
*/ */
public function __construct($time, $phases) public function __construct($time, $phases)
{ {
......
...@@ -68,10 +68,9 @@ class TimingPhase implements \IteratorAggregate, \Countable ...@@ -68,10 +68,9 @@ class TimingPhase implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param string $name * @param string $name
* @param float $time * @param float $time
* @param array $timings * @param array $timings
* @return void
*/ */
public function __construct($name, $time, $timings) public function __construct($name, $time, $timings)
{ {
......
...@@ -58,8 +58,7 @@ class Field implements \IteratorAggregate, \Countable ...@@ -58,8 +58,7 @@ class Field implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param array $values * @param array $values
* @return void
*/ */
public function __construct($values) public function __construct($values)
{ {
......
...@@ -55,8 +55,7 @@ class Pivot implements \IteratorAggregate, \Countable ...@@ -55,8 +55,7 @@ class Pivot implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param array $data * @param array $data
* @return void
*/ */
public function __construct($data) public function __construct($data)
{ {
......
...@@ -69,8 +69,7 @@ class PivotItem extends Pivot ...@@ -69,8 +69,7 @@ class PivotItem extends Pivot
/** /**
* Constructor * Constructor
* *
* @param array $data * @param array $data
* @return void
*/ */
public function __construct($data) public function __construct($data)
{ {
......
...@@ -57,8 +57,7 @@ class Query ...@@ -57,8 +57,7 @@ class Query
/** /**
* Constructor * Constructor
* *
* @param mixed $value * @param mixed $value
* @return void
*/ */
public function __construct($value) public function __construct($value)
{ {
......
...@@ -96,14 +96,13 @@ class Range extends Field ...@@ -96,14 +96,13 @@ class Range extends Field
/** /**
* Constructor * Constructor
* *
* @param array $values * @param array $values
* @param int $before * @param int $before
* @param int $after * @param int $after
* @param int $between * @param int $between
* @param int $start * @param int $start
* @param int $end * @param int $end
* @param int $gap * @param int $gap
* @return void
*/ */
public function __construct($values, $before, $after, $between, $start, $end, $gap) public function __construct($values, $before, $after, $between, $start, $end, $gap)
{ {
......
...@@ -54,8 +54,7 @@ class FacetSet implements \IteratorAggregate, \Countable ...@@ -54,8 +54,7 @@ class FacetSet implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param array $facets * @param array $facets
* @return void
*/ */
public function __construct($facets) public function __construct($facets)
{ {
......
...@@ -70,10 +70,9 @@ class FieldGroup implements \IteratorAggregate, \Countable ...@@ -70,10 +70,9 @@ class FieldGroup implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param int $matches * @param int $matches
* @param int $numberOfGroups * @param int $numberOfGroups
* @param array $groups * @param array $groups
* @return void
*/ */
public function __construct($matches, $numberOfGroups, $groups) public function __construct($matches, $numberOfGroups, $groups)
{ {
......
...@@ -84,12 +84,11 @@ class QueryGroup implements \IteratorAggregate, \Countable ...@@ -84,12 +84,11 @@ class QueryGroup implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param int $matches * @param int $matches
* @param int $numFound * @param int $numFound
* @param int $start * @param int $start
* @param float $maximumScore * @param float $maximumScore
* @param array $documents * @param array $documents
* @return void
*/ */
public function __construct($matches, $numFound, $start, $maximumScore, $documents) public function __construct($matches, $numFound, $start, $maximumScore, $documents)
{ {
......
...@@ -56,8 +56,7 @@ class Result implements \IteratorAggregate, \Countable ...@@ -56,8 +56,7 @@ class Result implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param array $groups * @param array $groups
* @return void
*/ */
public function __construct($groups) public function __construct($groups)
{ {
......
...@@ -77,11 +77,10 @@ class ValueGroup implements \IteratorAggregate, \Countable ...@@ -77,11 +77,10 @@ class ValueGroup implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param string $value * @param string $value
* @param int $numFound * @param int $numFound
* @param int $start * @param int $start
* @param array $documents * @param array $documents
* @return void
*/ */
public function __construct($value, $numFound, $start, $documents) public function __construct($value, $numFound, $start, $documents)
{ {
......
...@@ -55,8 +55,7 @@ class Highlighting implements \IteratorAggregate, \Countable ...@@ -55,8 +55,7 @@ class Highlighting implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param array $results * @param array $results
* @return void
*/ */
public function __construct($results) public function __construct($results)
{ {
......
...@@ -54,8 +54,7 @@ class Result implements \IteratorAggregate, \Countable ...@@ -54,8 +54,7 @@ class Result implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param array $fields * @param array $fields
* @return void
*/ */
public function __construct($fields) public function __construct($fields)
{ {
......
...@@ -55,8 +55,7 @@ class MoreLikeThis implements \IteratorAggregate, \Countable ...@@ -55,8 +55,7 @@ class MoreLikeThis implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param array $results * @param array $results
* @return void
*/ */
public function __construct($results) public function __construct($results)
{ {
......
...@@ -71,10 +71,9 @@ class Result implements \IteratorAggregate, \Countable ...@@ -71,10 +71,9 @@ class Result implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param int $numFound * @param int $numFound
* @param float $maxScore * @param float $maxScore
* @param array $documents * @param array $documents
* @return void
*/ */
public function __construct($numFound, $maxScore, $documents) public function __construct($numFound, $maxScore, $documents)
{ {
......
...@@ -70,10 +70,9 @@ class Result implements \IteratorAggregate, \Countable ...@@ -70,10 +70,9 @@ class Result implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param array $suggestions * @param array $suggestions
* @param array $collations * @param array $collations
* @param boolean $correctlySpelled * @param boolean $correctlySpelled
* @return void
*/ */
public function __construct($suggestions, $collations, $correctlySpelled) public function __construct($suggestions, $collations, $correctlySpelled)
{ {
......
...@@ -61,9 +61,8 @@ class FacetValue ...@@ -61,9 +61,8 @@ class FacetValue
/** /**
* Constructor * Constructor
* *
* @param string $value * @param string $value
* @param array $stats * @param array $stats
* @return void
*/ */
public function __construct($value, $stats) public function __construct($value, $stats)
{ {
......
...@@ -61,9 +61,8 @@ class Result ...@@ -61,9 +61,8 @@ class Result
/** /**
* Constructor * Constructor
* *
* @param string $field * @param string $field
* @param array $stats * @param array $stats
* @return void
*/ */
public function __construct($field, $stats) public function __construct($field, $stats)
{ {
......
...@@ -55,8 +55,7 @@ class Stats implements \IteratorAggregate, \Countable ...@@ -55,8 +55,7 @@ class Stats implements \IteratorAggregate, \Countable
/** /**
* Constructor * Constructor
* *
* @param array $results * @param array $results
* @return void
*/ */
public function __construct($results) public function __construct($results)
{ {
......
...@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder ...@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder
/** /**
* Build request for a Suggester query * Build request for a Suggester query
* *
* @param Query $query * @param QueryInterface|Query $query
* @return Request * @return Request
*/ */
public function build(QueryInterface $query) public function build(QueryInterface $query)
......
...@@ -53,7 +53,7 @@ class RequestBuilder extends BaseRequestBuilder ...@@ -53,7 +53,7 @@ class RequestBuilder extends BaseRequestBuilder
/** /**
* Build request for a Terms query * Build request for a Terms query
* *
* @param Query $query * @param QueryInterface|Query $query
* @return Request * @return Request
*/ */
public function build(QueryInterface $query) public function build(QueryInterface $query)
......
...@@ -53,7 +53,7 @@ class RequestBuilder extends BaseRequestBuilder ...@@ -53,7 +53,7 @@ class RequestBuilder extends BaseRequestBuilder
/** /**
* Build request for an update query * Build request for an update query
* *
* @param UpdateQuery $query * @param QueryInterface|UpdateQuery $query
* @return Request * @return Request
*/ */
public function build(QueryInterface $query) public function build(QueryInterface $query)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment