Just some tlc

This commit is contained in:
Tom Lingham
2016-05-14 11:32:14 +10:00
parent ed432fbc50
commit 19d7db244d
2 changed files with 10 additions and 13 deletions

View File

@ -27,9 +27,8 @@ abstract class BaseMatcher implements MatcherInterface
*/
public function buildQueryString($column, $searchString)
{
if (method_exists($this, 'formatSearchString')) {
if (method_exists($this, 'formatSearchString'))
$searchString = $this->formatSearchString($searchString);
}
return "IF($column {$this->operator} '$searchString', {$this->multiplier}, 0)";
}