Commit 1d2a0deb authored by Bas de Nooijer's avatar Bas de Nooijer

- removed unnecessary adapteroptions initialization (will be done on first adapter use)

- small phpdoc fixes for MLT
parent 21e37e64
......@@ -149,11 +149,6 @@ class Solarium_Client extends Solarium_Configurable
{
foreach ($this->_options AS $name => $value) {
switch ($name) {
case 'adapteroptions':
$this->_setOption('adapteroptions', $value);
$adapter = $this->getAdapter();
if ($adapter) $adapter->setOptions($value);
break;
case 'querytype':
$this->registerQueryTypes($value);
break;
......@@ -578,14 +573,14 @@ class Solarium_Client extends Solarium_Configurable
* $result = $client->moreLikeThis($query);
* </code>
*
* @see Solarium_Query_Select
* @see Solarium_Result_Select
* @see Solarium_Query_MoreLikeThis
* @see Solarium_Result_MoreLikeThis
*
* @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API.
*
* @param Solarium_Query_Select $query
* @return Solarium_Result_Select
* @param Solarium_Query_MoreLikeThis $query
* @return Solarium_Result_MoreLikeThis
*/
public function moreLikeThis($query)
{
......@@ -633,7 +628,7 @@ class Solarium_Client extends Solarium_Configurable
* Create a MoreLikeThis query instance
*
* @param mixed $options
* @return Solarium_Query_Select
* @return Solarium_Query_MoreLikeThis
*/
public function createMoreLikeThis($options = 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