CRM-14747 - Profiles - Fixed error caused by profile fields with empty labels
[civicrm-core.git] / CRM / Core / BAO / Discount.php
index 3d5888867f2412c4ce65bbecc44d2f413f639c31..1644cee4e3539afe1f6836fad1f8778134a09c6e 100644 (file)
@@ -44,12 +44,14 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount {
   /**
    * Function to delete the discount
    *
-   * @param int $id   discount id
+   * @param $entityId
+   * @param $entityTable
+   *
+   * @internal param int $id discount id
    *
    * @return boolean
    * @access public
    * @static
-   *
    */
   static function del($entityId,$entityTable) {
     // delete all discount records with the selected discounted id
@@ -106,9 +108,10 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount {
   /**
    * Determine in which discount set the registration date falls
    *
-   * @param  integer  $entityId      entity id to be searched
-   * @param  string   $entityTable   entity table to be searched
+   * @param $entityID
+   * @param  string $entityTable entity table to be searched
    *
+   * @internal param int $entityId entity id to be searched
    * @return integer  $dao->id       discount id of the set which matches
    *                                 the date criteria
    */