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