From 48427e3422be828a9ec701cc4a8ba9675b2f6a61 Mon Sep 17 00:00:00 2001 From: Volodymyr Dovhan <87095933+volodymyrdovhan@users.noreply.github.com> Date: Tue, 3 Dec 2024 22:36:05 +0100 Subject: [PATCH] Change discovery_agent interface name Interface '\core\hook\hook_discovery_agent' does not exist in the \core\hook. It should be '\core\hook\discovery_agent' as described above the code example. --- versioned_docs/version-4.5/apis/core/hooks/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-4.5/apis/core/hooks/index.md b/versioned_docs/version-4.5/apis/core/hooks/index.md index c69a637555..8a6d89fe07 100644 --- a/versioned_docs/version-4.5/apis/core/hooks/index.md +++ b/versioned_docs/version-4.5/apis/core/hooks/index.md @@ -126,7 +126,7 @@ If you define a hook which is _not_ in the `[component]\hook\*` namespace then y namespace mod_example; -class hooks implements \core\hook\hook_discovery_agent { +class hooks implements \core\hook\discovery_agent { public static function discover_hooks(): array { return [ [