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 --- lib/Minz/HookSignature.php | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/Minz/HookSignature.php (limited to 'lib/Minz/HookSignature.php') diff --git a/lib/Minz/HookSignature.php b/lib/Minz/HookSignature.php new file mode 100644 index 000000000..bfc7410d6 --- /dev/null +++ b/lib/Minz/HookSignature.php @@ -0,0 +1,9 @@ +