Skip to content

Commit

Permalink
typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed May 3, 2024
1 parent 41e1ee8 commit 455eebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Entries/EntryQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function whereIn($column, $values, $boolean = 'and')
return parent::whereIn($column, $values, $boolean);
}

private function ensureCollectionsAreQueriedForStatusQuery()
private function ensureCollectionsAreQueriedForStatusQuery(): void
{
$wheres = collect($this->builder->getQuery()->wheres);

Expand All @@ -205,7 +205,7 @@ private function ensureCollectionsAreQueriedForStatusQuery()
$this->whereIn('collection', app(static::class)->whereIn('id', $ids)->pluck('collection')->unique()->values());
}

private function getCollectionsForStatusQuery()
private function getCollectionsForStatusQuery(): \Illuminate\Support\Collection
{
// Since we have to add nested queries for each collection, we only want to add clauses for the
// applicable collections. By this point, there should be where clauses on the collection column.
Expand Down

0 comments on commit 455eebe

Please sign in to comment.