aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/rss.phtml
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2025-09-30 16:59:41 -0400
committerGravatar GitHub <noreply@github.com> 2025-09-30 22:59:41 +0200
commit72884813e13596d211471482ffdc6d723ed678c9 (patch)
tree043856f23bdcae7f9f88294c47c499657c2d05ff /app/views/index/rss.phtml
parentbf6e634e042b726edd97335ac36b2305f8101b3f (diff)
Add hook enums (#8036)
- add an enum to handle hook types (enum are available since PHP 8.1) - change hook calls from string value to enum value
Diffstat (limited to 'app/views/index/rss.phtml')
-rw-r--r--app/views/index/rss.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/index/rss.phtml b/app/views/index/rss.phtml
index 7d92bd140..7caf4cb9d 100644
--- a/app/views/index/rss.phtml
+++ b/app/views/index/rss.phtml
@@ -23,7 +23,7 @@
foreach ($this->entries as $item) {
if (!$this->internal_rendering) {
/** @var FreshRSS_Entry|null $item */
- $item = Minz_ExtensionManager::callHook('entry_before_display', $item);
+ $item = Minz_ExtensionManager::callHook(Minz_HookType::EntryBeforeDisplay, $item);
if ($item === null) {
continue;
}