Skip to content

Commit

Permalink
Style cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Mar 16, 2013
1 parent c4719e5 commit 9746b21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Sherlock/wrappers/FacetWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ public function __call($name, $arguments)
{
$class = '\\Sherlock\\components\\facets\\'.$name;

if (count($arguments) > 0)
if (count($arguments) > 0) {
$this->facet = new $class($arguments[0]);
else
} else {
$this->facet = new $class();
}


return $this->facet;
}
Expand Down

0 comments on commit 9746b21

Please sign in to comment.