diff --git a/docs/apis/core/hooks/index.md b/docs/apis/core/hooks/index.md index cce86eb8c5..5ba19e46eb 100644 --- a/docs/apis/core/hooks/index.md +++ b/docs/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 [ [ diff --git a/versioned_docs/version-4.4/apis/core/hooks/index.md b/versioned_docs/version-4.4/apis/core/hooks/index.md index 0e2408b5a6..8a6d89fe07 100644 --- a/versioned_docs/version-4.4/apis/core/hooks/index.md +++ b/versioned_docs/version-4.4/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 [ [ diff --git a/versioned_docs/version-5.0/apis/core/hooks/index.md b/versioned_docs/version-5.0/apis/core/hooks/index.md index cce86eb8c5..5ba19e46eb 100644 --- a/versioned_docs/version-5.0/apis/core/hooks/index.md +++ b/versioned_docs/version-5.0/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 [ [