Merge pull request #4637 from eileenmcnaughton/CRM-15670
[civicrm-core.git] / CRM / Contribute / BAO / ContributionSoft.php
index d47d49272143b5d80098e3a3de0c146708798ab2..c0a7ac8a107ee054d12e0596a284f89ff418ad64 100644 (file)
 class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_ContributionSoft {
 
   /**
-   * construct method
+   * Construct method
    */
   function __construct() {
     parent::__construct();
   }
 
   /**
-   * add contribution soft credit record
+   * Add contribution soft credit record
    *
    * @param array  $params (reference ) an assoc array of name/value pairs
    *
@@ -83,7 +83,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * delete soft credits
+   * Delete soft credits
    *
    * @param array $params
    *
@@ -99,7 +99,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * @param $contact_id
+   * @param int $contact_id
    * @param int $isTest
    *
    * @return array
@@ -140,9 +140,9 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * retrieve soft contributions for contribution record.
+   * Retrieve soft contributions for contribution record.
    *
-   * @param $contributionID
+   * @param int $contributionID
    * @param boolean $all include PCP data
    *
    * @return array of soft contribution ids, amounts, and associated contact ids
@@ -198,7 +198,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * @param $contributionID
+   * @param int $contributionID
    * @param bool $isPCP
    *
    * @return array
@@ -315,8 +315,8 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   /**
    * @param CRM_Core_Form $form
    * @param array $params
-   * @param $honoreeprofileId
-   * @param null $honorId
+   * @param int $honoreeprofileId
+   * @param int $honorId
    */
   static function formatHonoreeProfileFields($form, $params, $honoreeprofileId, $honorId = NULL) {
     $profileContactType = CRM_Core_BAO_UFGroup::getContactType($honoreeprofileId);