Skip to content

Commit

Permalink
Consistency check
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed May 24, 2024
1 parent aa09f77 commit cbac039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Asset/Service/AssetService.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function getAssets(ElementParameters $parameters): Collection

$items = $result->getItems();

foreach($items as $item) {
foreach ($items as $item) {
$this->eventDispatcher->dispatch(
new AssetEvent($item),
AssetEvent::EVENT_NAME
Expand All @@ -64,4 +64,4 @@ public function getAssets(ElementParameters $parameters): Collection

return new Collection($result->getTotalItems(), $items);
}
}
}

0 comments on commit cbac039

Please sign in to comment.