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

- code style fixes

parent 1bb6ec64
......@@ -129,8 +129,7 @@ class Solarium_Client_Request_Update extends Solarium_Client_Request
foreach ($doc->getFields() AS $name => $value) {
$boost = $doc->getFieldBoost($name);
if(is_array($value))
{
if (is_array($value)) {
foreach ($value AS $multival) {
$xml .= $this->_buildFieldXml($name, $boost, $multival);
}
......
......@@ -94,7 +94,9 @@ class Solarium_Query_Update extends Solarium_Query
$command = new Solarium_Query_Update_Command_Rollback($value);
break;
case 'add':
throw new Solarium_Exception("Adding documents is not supported in configuration, use the API for this");
throw new Solarium_Exception(
"Adding documents is not supported in configuration, use the API for this"
);
}
$this->add($key, $command);
......
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