Skip to content

Commit

Permalink
fixes for whereIn ...
Browse files Browse the repository at this point in the history
  • Loading branch information
fico7489 committed Mar 6, 2019
1 parent 1d282ea commit 8ec93df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EloquentJoinBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@ public function orWhereInJoin($column, $values)
$query = $this->baseBuilder ? $this->baseBuilder : $this;
$column = $query->performJoin($column);

return $this->whereIn($column, $values, 'or');
return $this->orWhereIn($column, $values);
}

public function orWhereNotInJoin($column, $values)
{
$query = $this->baseBuilder ? $this->baseBuilder : $this;
$column = $query->performJoin($column);

return $this->whereIn($column, $values, 'or', true);
return $this->orWhereNotIn($column, $values);
}

public function orderByJoin($column, $direction = 'asc', $aggregateMethod = null)
Expand Down

0 comments on commit 8ec93df

Please sign in to comment.