Skip to content

Commit

Permalink
Merge 62ab8c4 into 95ce9dc
Browse files Browse the repository at this point in the history
  • Loading branch information
satoved committed Jul 4, 2020
2 parents 95ce9dc + 62ab8c4 commit fa3293f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SearchResultCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ public function groupByType(): Collection

public function aspect(string $aspectName): Collection
{
return $this->groupByType()->get($aspectName);
return $this->groupByType()->get($aspectName, collect());
}
}

0 comments on commit fa3293f

Please sign in to comment.