CRM-14235 Preparation for Drupal 8
[civicrm-core.git] / CRM / Utils / Hook.php
index facdd3a0f2d19e312554ccd2243bf7839dda2106..c2c07a1ab61530526fe2201c425c906ec9682d46 100644 (file)
@@ -90,14 +90,16 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * @param int $numParams
-   * @param mixed $arg1
-   * @param mixed $arg2
-   * @param mixed $arg3
-   * @param mixed $arg4
-   * @param mixed $arg5
-   * @param mixed $arg6
-   * @param mixed $fnSuffix
+   *Invoke hooks
+   *
+   * @param int $numParams Number of parameters to pass to the hook
+   * @param mixed $arg1 parameter to be passed to the hook
+   * @param mixed $arg2 parameter to be passed to the hook
+   * @param mixed $arg3 parameter to be passed to the hook
+   * @param mixed $arg4 parameter to be passed to the hook
+   * @param mixed $arg5 parameter to be passed to the hook
+   * @param mixed $arg6 parameter to be passed to the hook
+   * @param string $fnSuffix function suffix, this is effectively the hook name
    *
    * @return mixed
    */
@@ -197,7 +199,7 @@ abstract class CRM_Utils_Hook {
             case 6:
               $fResult = $fnName($arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
               break;
-              
+
             default:
               CRM_Core_Error::fatal(ts('Invalid hook invocation'));
               break;