Skip to content

Commit

Permalink
Remove Grammar clause
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhall17 committed Feb 1, 2020
1 parent 9af3a82 commit 93cb375
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Support/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ protected function invalidOperatorAndValue($operator, $value)
*/
protected function invalidOperator($operator)
{
return ! in_array(strtolower($operator), $this->operators, true) &&
! in_array(strtolower($operator), $this->grammar->getOperators(), true);
return ! in_array(strtolower($operator), $this->operators, true);
}

/**
Expand Down

0 comments on commit 93cb375

Please sign in to comment.