Skip to content
Snippets Groups Projects
Commit ccc5d682 authored by Demian Katz's avatar Demian Katz
Browse files

Style fixes.

parent 7772e215
No related merge requests found
...@@ -120,7 +120,7 @@ class Solr extends AbstractBase ...@@ -120,7 +120,7 @@ class Solr extends AbstractBase
* *
* @param string $parentID The starting point for the current recursion * @param string $parentID The starting point for the current recursion
* (equivlent to Solr field hierarchy_parent_id) * (equivlent to Solr field hierarchy_parent_id)
* @param string $count The total count of items in the tree * @param string &$count The total count of items in the tree
* before this recursion * before this recursion
* *
* @return string * @return string
......
...@@ -96,7 +96,9 @@ abstract class AbstractBase ...@@ -96,7 +96,9 @@ abstract class AbstractBase
$hierarchyDriver = $this->getRecordDriver() $hierarchyDriver = $this->getRecordDriver()
->tryMethod('getHierarchyDriver'); ->tryMethod('getHierarchyDriver');
if (!is_object($hierarchyDriver)) { if (!is_object($hierarchyDriver)) {
throw new \Exception('Cannot load hierarchy driver from record driver.'); throw new \Exception(
'Cannot load hierarchy driver from record driver.'
);
} }
$this->dataSource = $hierarchyDriver->getTreeSource(); $this->dataSource = $hierarchyDriver->getTreeSource();
} }
......
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