Skip to content

Commit

Permalink
Fixed hook callback for newsListFetchItems (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tastaturberuf authored Feb 26, 2024
1 parent 4395d82 commit b4bc632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/NewsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function onNewsListCountItems(array $archives, bool|null $featured, Modul
/**
* @return Collection<NewsModel>|null
*/
#[AsHook('onNewsListFetchItems')]
#[AsHook('newsListFetchItems')]
public function onNewsListFetchItems(array $archives, bool|null $featured, int $limit, int $offset, ModuleNewsList $module): Collection|null
{
if (null === ($criteria = $this->getCriteria($archives, $featured, $module))) {
Expand Down

0 comments on commit b4bc632

Please sign in to comment.