Skip to content

Commit

Permalink
refactor: PHPStan code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Apr 28, 2024
1 parent 880accc commit e728039
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/Similar.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public function find(array $data): array|ElementInterface

$elements = $query->all();

/** @var Element $element */
foreach ($elements as $element) {
// The `count` property is added dynamically by our CountBehavior behavior
$key = $element->siteId . '-' . $element->id;
Expand Down

0 comments on commit e728039

Please sign in to comment.