}
/**
- * @param $entityId
+ * @param int $entityId
* @param $entityTable
*
* @return null|string
}
/**
- * wrapper for line item retrieval when contribution ID is known
- * @param $contributionID
+ * Wrapper for line item retrieval when contribution ID is known
+ * @param int $contributionID
*
* @return array
*/
}
/**
- * process price set and line items.
+ * Process price set and line items.
*
- * @param $entityId
+ * @param int $entityId
* @param array $lineItem line item array
* @param object $contributionDetails
* @param string $entityTable entity table
}
/**
- * @param $entityId
+ * @param int $entityId
* @param string $entityTable
* @param $amount
- * @param null $otherParams
+ * @param array $otherParams
*/
public static function syncLineItems($entityId, $entityTable = 'civicrm_contribution', $amount, $otherParams = NULL) {
if (!$entityId || CRM_Utils_System::isNull($amount))
}
/**
- * build line items array.
+ * Build line items array.
* @param array $params form values
*
* @param string $entityId entity id