diff --git a/main/inc/lib/hook/HookEvent.php b/main/inc/lib/hook/HookEvent.php index 017c0581f2..8180b38545 100644 --- a/main/inc/lib/hook/HookEvent.php +++ b/main/inc/lib/hook/HookEvent.php @@ -36,7 +36,7 @@ abstract class HookEvent implements HookEventInterface /** * Return the singleton instance of Hook event. - * @return HookEventInterface|null + * @return static */ public static function create() { diff --git a/main/inc/lib/hook/HookObserver.php b/main/inc/lib/hook/HookObserver.php index 35856839f7..d4be7681af 100644 --- a/main/inc/lib/hook/HookObserver.php +++ b/main/inc/lib/hook/HookObserver.php @@ -34,7 +34,7 @@ abstract class HookObserver implements HookObserverInterface /** * Return the singleton instance of Hook observer. * If Hook Management plugin is not enabled, will return NULL - * @return HookEventInterface|null + * @return static|null */ public static function create() { diff --git a/main/inc/lib/hook/interfaces/base/HookEventInterface.php b/main/inc/lib/hook/interfaces/base/HookEventInterface.php index bf14569807..dc4ffb7f9e 100644 --- a/main/inc/lib/hook/interfaces/base/HookEventInterface.php +++ b/main/inc/lib/hook/interfaces/base/HookEventInterface.php @@ -33,7 +33,7 @@ interface HookEventInterface /** * Return the singleton instance of Hook event. - * @return HookEventInterface|null + * @return static|null */ public static function create(); diff --git a/main/inc/lib/hook/interfaces/base/HookObserverInterface.php b/main/inc/lib/hook/interfaces/base/HookObserverInterface.php index 30bae87643..0b430c781f 100644 --- a/main/inc/lib/hook/interfaces/base/HookObserverInterface.php +++ b/main/inc/lib/hook/interfaces/base/HookObserverInterface.php @@ -10,7 +10,7 @@ interface HookObserverInterface { /** * Return the singleton instance of Hook observer. - * @return HookEventInterface|null + * @return static|null */ public static function create();