Commit 83d953ba authored by chadicus's avatar chadicus

Remove indentation from Grouping::parse()

parent 70383b14
......@@ -61,9 +61,12 @@ class Grouping implements ComponentParserInterface
*/
public function parse($query, $grouping, $data)
{
if (!isset($data['grouped'])) {
return new Result(array());
}
$groups = array();
if (isset($data['grouped'])) {
// parse field groups
$valueResultClass = $grouping->getOption('resultvaluegroupclass');
$documentClass = $query->getOption('documentclass');
......@@ -131,7 +134,6 @@ class Grouping implements ComponentParserInterface
$groups[$groupQuery] = $group;
}
}
}
return new Result($groups);
}
......
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