Commit cb05f3fd authored by Bas de Nooijer's avatar Bas de Nooijer

Fix for issue #164

parent dfeb8586
......@@ -43,7 +43,7 @@ use Solarium\QueryType\Select\RequestBuilder\RequestBuilder;
use Solarium\QueryType\Select\ResponseParser\ResponseParser;
use Solarium\Exception\InvalidArgumentException;
use Solarium\Exception\OutOfBoundsException;
use Solarium\QueryType\Select\Query\Component\Component;
use Solarium\QueryType\Select\Query\Component\Component as AbstractComponent;
/**
* Select Query
......@@ -787,7 +787,7 @@ class Query extends BaseQuery
/**
* Get all registered components
*
* @return Component[]
* @return AbstractComponent[]
*/
public function getComponents()
{
......@@ -835,7 +835,7 @@ class Query extends BaseQuery
* This overwrites any existing component registered with the same key.
*
* @param string $key
* @param Component $component
* @param AbstractComponent $component
* @return self Provides fluent interface
*/
public function setComponent($key, $component)
......@@ -851,7 +851,7 @@ class Query extends BaseQuery
*
* You can remove a component by passing its key or the component instance.
*
* @param string|Component\Component $component
* @param string|AbstractComponent $component
* @return self Provides fluent interface
*/
public function removeComponent($component)
......
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