diff --git a/src/Stache/Query/EntryQueryBuilder.php b/src/Stache/Query/EntryQueryBuilder.php index eb3b67b503..e43fe045b5 100644 --- a/src/Stache/Query/EntryQueryBuilder.php +++ b/src/Stache/Query/EntryQueryBuilder.php @@ -23,11 +23,6 @@ public function where($column, $operator = null, $value = null, $boolean = 'and' return parent::where($column, $operator, $value, $boolean); } - public function orWhere($column, $operator = null, $value = null) - { - return $this->where($column, $operator, $value, 'or'); - } - public function whereIn($column, $values, $boolean = 'and') { if (in_array($column, ['collection', 'collections'])) { @@ -39,11 +34,6 @@ public function whereIn($column, $values, $boolean = 'and') return parent::whereIn($column, $values, $boolean); } - public function orWhereIn($column, $values) - { - return $this->whereIn($column, $values, 'or'); - } - protected function collect($items = []) { return EntryCollection::make($items); diff --git a/src/Stache/Query/TermQueryBuilder.php b/src/Stache/Query/TermQueryBuilder.php index ced7cd7790..10126f5a4d 100644 --- a/src/Stache/Query/TermQueryBuilder.php +++ b/src/Stache/Query/TermQueryBuilder.php @@ -28,11 +28,6 @@ public function where($column, $operator = null, $value = null, $boolean = 'and' return parent::where($column, $operator, $value, $boolean); } - public function orWhere($column, $operator = null, $value = null) - { - return $this->where($column, $operator, $value, 'or'); - } - public function whereIn($column, $values, $boolean = 'and') { if (in_array($column, ['taxonomy', 'taxonomies'])) { @@ -50,11 +45,6 @@ public function whereIn($column, $values, $boolean = 'and') return parent::whereIn($column, $values, $boolean); } - public function orWhereIn($column, $values) - { - return $this->whereIn($column, $values, 'or'); - } - protected function collect($items = []) { return TermCollection::make($items);