Commit e2ac5541 authored by Dorian Villet's avatar Dorian Villet

Fix more PHPDocs.

parent adf4dd56
...@@ -222,7 +222,7 @@ class Curl extends Configurable implements AdapterInterface ...@@ -222,7 +222,7 @@ class Curl extends Configurable implements AdapterInterface
* @throws HttpException * @throws HttpException
* @param string $data * @param string $data
* @param array $headers * @param array $headers
* @param Curl handle $handle * @param resource $handle
* @return void * @return void
*/ */
public function check($data, $headers, $handle) public function check($data, $headers, $handle)
......
...@@ -138,7 +138,7 @@ class ParallelExecution extends Plugin ...@@ -138,7 +138,7 @@ class ParallelExecution extends Plugin
/** /**
* Execute queries parallel * Execute queries parallel
* *
* @return Result[] * @return \Solarium\Core\Query\Result\Result[]
*/ */
public function execute() public function execute()
{ {
......
...@@ -99,8 +99,8 @@ class Document extends Query ...@@ -99,8 +99,8 @@ class Document extends Query
/** /**
* Add a single document * Add a single document
* *
* @param object $document * @param \Solarium\QueryType\Update\Query\Document\Document $document
* @return self Provides fluent interface * @return self Provides fluent interface
*/ */
public function addDocument($document) public function addDocument($document)
{ {
...@@ -112,8 +112,8 @@ class Document extends Query ...@@ -112,8 +112,8 @@ class Document extends Query
/** /**
* Add multiple documents * Add multiple documents
* *
* @param DocumentInterface[] $documents * @param \Solarium\QueryType\Update\Query\Document\DocumentInterface[] $documents
* @return self fluent interface * @return self Provides fluent interface
*/ */
public function addDocuments($documents) public function addDocuments($documents)
{ {
......
...@@ -385,8 +385,8 @@ class FacetSet extends Component ...@@ -385,8 +385,8 @@ class FacetSet extends Component
* *
* You can remove a facet by passing its key or the facet instance * You can remove a facet by passing its key or the facet instance
* *
* @param string|Facet\Facet $facet * @param string|\Solarium\QueryType\Select\Query\Component\Facet\Facet $facet
* @return self Provides fluent interface * @return self Provides fluent interface
*/ */
public function removeFacet($facet) public function removeFacet($facet)
{ {
......
...@@ -190,7 +190,7 @@ class Query extends BaseQuery ...@@ -190,7 +190,7 @@ class Query extends BaseQuery
/** /**
* Search components * Search components
* *
* @var Component[] * @var AbstractComponent[]
*/ */
protected $components = array(); protected $components = array();
......
...@@ -52,7 +52,7 @@ class Add extends Command ...@@ -52,7 +52,7 @@ class Add extends Command
/** /**
* Documents to add * Documents to add
* *
* @var DocumentInterface[] * @var \Solarium\QueryType\Update\Query\Document\DocumentInterface[]
*/ */
protected $documents = array(); protected $documents = array();
......
...@@ -236,8 +236,8 @@ class Query extends BaseQuery ...@@ -236,8 +236,8 @@ class Query extends BaseQuery
* *
* You can remove a command by passing its key or by passing the command instance. * You can remove a command by passing its key or by passing the command instance.
* *
* @param string|Command\Command $command * @param string|\Solarium\QueryType\Update\Query\Command\Command $command
* @return self Provides fluent interface * @return self Provides fluent interface
*/ */
public function remove($command) public function remove($command)
{ {
...@@ -349,10 +349,10 @@ class Query extends BaseQuery ...@@ -349,10 +349,10 @@ class Query extends BaseQuery
* If you need more control, like choosing a key for the command you need to * If you need more control, like choosing a key for the command you need to
* create you own command instance and use the add method. * create you own command instance and use the add method.
* *
* @param Document $document * @param DocumentInterface $document
* @param boolean $overwrite * @param boolean $overwrite
* @param int $commitWithin * @param int $commitWithin
* @return self Provides fluent interface * @return self Provides fluent interface
*/ */
public function addDocument($document, $overwrite = null, public function addDocument($document, $overwrite = null,
$commitWithin = null) $commitWithin = null)
......
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