Forráskód Böngészése

Update hook php doc - refs BT#9092 #hook

Daniel Barreto 10 éve
szülő
commit
fd48fe3079

+ 1 - 1
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()
     {

+ 1 - 1
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()
     {

+ 1 - 1
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();
 

+ 1 - 1
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();