Merge pull request #4955 from atif-shaikh/master-cleanup
[civicrm-core.git] / CRM / Contribute / BAO / ContributionSoft.php
index f27bc3cb7ef26e8ce4225156f05af2715ad4d904..2e8d49da0ea26e230f7ada0eb91d73af615d265a 100644 (file)
@@ -70,8 +70,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
    * @param array $defaults
    *   (reference ) an assoc array to hold the flattened values.
    *
-   * @return CRM_Contribute_BAO_ContributionSoft object
-   * @static
+   * @return CRM_Contribute_BAO_ContributionSoft
    */
   public static function retrieve(&$params, &$defaults) {
     $contributionSoft = new CRM_Contribute_DAO_ContributionSoft();
@@ -88,7 +87,6 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
    *
    * @param array $params
    *
-   * @static
    */
   public static function del($params) {
     //delete from contribution soft table
@@ -114,8 +112,9 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
     GROUP BY currency';
 
     $params = array(
-    1 => array($contact_id, 'Integer'),
-      2 => array($isTest, 'Integer'));
+      1 => array($contact_id, 'Integer'),
+      2 => array($isTest, 'Integer')
+    );
 
     $cs = CRM_Core_DAO::executeQuery($query, $params);
 
@@ -149,8 +148,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
    *   Include PCP data.
    *
    * @return array
-   *   of soft contribution ids, amounts, and associated contact ids
-   * @static
+   *   Array of soft contribution ids, amounts, and associated contact ids
    */
   public static function getSoftContribution($contributionID, $all = FALSE) {
     $pcpFields = array(
@@ -244,7 +242,6 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
    *   Additional filter criteria, later used in where clause.
    *
    * @return array
-   * @static
    */
   public static function getSoftContributionList($contact_id, $filter = NULL, $isTest = 0) {
     $query = '
@@ -310,15 +307,11 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
     return $result;
   }
 
-  /*
-   *  Function to assign honor profile fields to template/form, if $honorId (as soft-credit's contact_id)
-   *  is passed  then  whole honoreeprofile fields with title/value assoc array assigned or only honoreeName
-   *  is assigned
-   *
-   *  @static
-   */
-
   /**
+   * Function to assign honor profile fields to template/form, if $honorId (as soft-credit's contact_id)
+   * is passed  then  whole honoreeprofile fields with title/value assoc array assigned or only honoreeName
+   * is assigned
+   *
    * @param CRM_Core_Form $form
    * @param array $params
    * @param int $honoreeprofileId