comment fixes
authorEileen McNaughton <eileen@fuzion.co.nz>
Fri, 3 Apr 2015 03:57:33 +0000 (16:57 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Fri, 3 Apr 2015 03:57:33 +0000 (16:57 +1300)
CRM/Utils/Hook.php

index 8f7819909ce6d59039b1f4b8e68ad930bffbc1c7..54a2715eb61d4248899fda74f96514ef91c2e467 100644 (file)
@@ -587,7 +587,9 @@ abstract class CRM_Utils_Hook {
    *   - name: string, eg "sql:civicrm_email:contact_id"
    *   - type: string, eg "sql"
    *   - count: int, eg "5" if there are 5 email addresses that refer to $dao
-   * @return void
+   *
+   * @return mixed
+   *   Return is not really intended to be used.
    */
   public static function referenceCounts($dao, &$refCounts) {
     return self::singleton()->invoke(2, $dao, $refCounts,
@@ -925,13 +927,15 @@ abstract class CRM_Utils_Hook {
    *
    * Definition will look like this:
    *
-   *   function hook_civicrm_alterPaymentProcessorParams($paymentObj,
-   *                                                     &$rawParams, &$cookedParams);
-   *
-   * See discussion in CRM-16224 as to whether $paymentObj should be passed by reference.
+   *   function hook_civicrm_alterPaymentProcessorParams(
+   *     $paymentObj,
+   *     &$rawParams,
+   *     &$cookedParams
+   *   );
    *
-   * @param string $paymentObj
-   *    instance of payment class of the payment processor invoked (e.g., 'CRM_Core_Payment_Dummy')
+   * @param CRM_Core_Payment $paymentObj
+   *   Instance of payment class of the payment processor invoked (e.g., 'CRM_Core_Payment_Dummy')
+   *   See discussion in CRM-16224 as to whether $paymentObj should be passed by reference.
    * @param array &$rawParams
    *    array of params as passed to to the processor
    * @param array &$cookedParams