Skip to content

Commit

Permalink
Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-moser committed May 24, 2024
1 parent 1277f70 commit 7bf33cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function getAggregation(string $aggregationName): ?SearchResultAggregatio
public function getIds(): array
{
return array_map(
static fn (DocumentSearchResultItem $item) => $item->getId(),
static fn (ElementSearchResultItemInterface $item) => $item->getId(),
$this->items
);
}
Expand Down

0 comments on commit 7bf33cb

Please sign in to comment.