- Fixed a double negative

This commit is contained in:
Dave Mc Nicoll 2021-08-27 18:04:36 +00:00
parent 0453e9cbc5
commit 58afe841e7
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ trait ConditionTrait
return $this;
}
public function notWhere($field, $value, string $operator = Query\Where::OPERATOR_NOT_EQUAL) : self
public function notWhere($field, $value, string $operator = Query\Where::OPERATOR_EQUAL) : self
{
$this->queryBuilder->where($field, $value, $operator, Query\Where::CONDITION_AND, true);