@@ -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()
{
@@ -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 static|null
@@ -33,7 +33,7 @@ interface HookEventInterface
public static function create();
@@ -10,7 +10,7 @@ interface HookObserverInterface