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 9007821 commit 2ffcc19
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 @@ -163,6 +163,7 @@ public function find($data)

$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 2ffcc19

Please sign in to comment.