Skip to content

Commit

Permalink
Comment clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Jul 14, 2018
1 parent b96f24d commit 5b54155
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions CRM/Core/BAO/FinancialTrxn.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct() {
* @param array $params
* (reference ) an assoc array of name/value pairs.
*
* @return CRM_Core_BAO_FinancialTrxn
* @return CRM_Financial_DAO_FinancialTrxn
*/
public static function create($params) {
$trxn = new CRM_Financial_DAO_FinancialTrxn();
Expand Down Expand Up @@ -116,7 +116,7 @@ public static function getBalanceTrxnAmt($contributionId, $contributionFinancial
* @param array $defaults
* (reference ) an assoc array to hold the flattened values.
*
* @return CRM_Contribute_BAO_ContributionType
* @return \CRM_Financial_DAO_FinancialTrxn
*/
public static function retrieve(&$params, &$defaults) {
$financialItem = new CRM_Financial_DAO_FinancialTrxn();
Expand Down Expand Up @@ -507,7 +507,7 @@ public static function getPartialPaymentWithType($entityId, $entityName = 'parti
/**
* @param int $contributionId
*
* @return array
* @return string
*/
public static function getTotalPayments($contributionId) {
$statusId = CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'contribution_status_id', 'Completed');
Expand All @@ -531,7 +531,7 @@ public static function getTotalPayments($contributionId) {
* @param array $contribution
* @param array $params
*
* @return CRM_Core_BAO_FinancialTrxn
* @return \CRM_Financial_DAO_FinancialTrxn
*/
public static function getPartialPaymentTrxn($contribution, $params) {
$trxn = CRM_Contribute_BAO_Contribution::recordPartialPayment($contribution, $params);
Expand Down
10 changes: 5 additions & 5 deletions CRM/Financial/BAO/FinancialItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct() {
* @param array $defaults
* (reference ) an assoc array to hold the flattened values.
*
* @return CRM_Financial_BAO_FinancialItem
* @return CRM_Financial_DAO_FinancialItem
*/
public static function retrieve(&$params, &$defaults) {
$financialItem = new CRM_Financial_DAO_FinancialItem();
Expand Down Expand Up @@ -189,9 +189,9 @@ public static function create(&$params, $ids = NULL, $trxnIds = NULL) {
* Takes an associative array and creates a entity financial transaction object.
*
* @param array $params
* (reference ) an assoc array of name/value pairs.
* an assoc array of name/value pairs.
*
* @return CRM_Core_BAO_FinancialTrxn
* @return CRM_Financial_DAO_EntityFinancialTrxn
*/
public static function createEntityTrxn($params) {
$entity_trxn = new CRM_Financial_DAO_EntityFinancialTrxn();
Expand All @@ -204,9 +204,9 @@ public static function createEntityTrxn($params) {
* Retrive entity financial trxn details.
*
* @param array $params
* (reference ) an assoc array of name/value pairs.
* an assoc array of name/value pairs.
* @param bool $maxId
* To retrive max id.
* To retrieve max id.
*
* @return array
*/
Expand Down

0 comments on commit 5b54155

Please sign in to comment.