Skip to content

Commit

Permalink
PSR-2 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbusu committed Jan 18, 2017
1 parent 4511b44 commit 2d75abe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Druid/Query/QueryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

namespace Druid\Query;


use Druid\Query\Exception\RequiredArgumentException;

/**
Expand Down
5 changes: 4 additions & 1 deletion src/Druid/QueryBuilder/TopNQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ public function setMetric(MetricInterface $metric)
*/
public function setThreshold($threshold)
{
return $this->addComponent('threshold', $threshold instanceof ThresholdInterface ? $threshold : new Threshold((int)$threshold));
return $this->addComponent(
'threshold',
$threshold instanceof ThresholdInterface ? $threshold : new Threshold((int)$threshold)
);
}

/**
Expand Down

0 comments on commit 2d75abe

Please sign in to comment.