diff --git a/src/EventListener/NewsListener.php b/src/EventListener/NewsListener.php index a609241..060421e 100644 --- a/src/EventListener/NewsListener.php +++ b/src/EventListener/NewsListener.php @@ -40,7 +40,7 @@ public function onNewsListCountItems(array $archives, bool|null $featured, Modul /** * @return Collection|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))) {