From 72884813e13596d211471482ffdc6d723ed678c9 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Tue, 30 Sep 2025 16:59:41 -0400 Subject: 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 --- app/layout/aside_configure.phtml | 4 ++-- app/layout/header.phtml | 6 +++--- app/layout/nav_menu.phtml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'app/layout') diff --git a/app/layout/aside_configure.phtml b/app/layout/aside_configure.phtml index 7413f002d..6ebf232e2 100644 --- a/app/layout/aside_configure.phtml +++ b/app/layout/aside_configure.phtml @@ -60,7 +60,7 @@ - + @@ -88,7 +88,7 @@
  • - + diff --git a/app/layout/header.phtml b/app/layout/header.phtml index 1e4290f98..e92b3c2ef 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -87,7 +87,7 @@
  • - + @@ -103,7 +103,7 @@ disable_update) { ?>
  • - + @@ -117,7 +117,7 @@ - + diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index 2f09465aa..d477bff37 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -190,7 +190,7 @@ - +