From 3295515a564e61791a8ebf1cd1633c37b312d17d Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 6 Jan 2015 14:56:57 -0800 Subject: [PATCH] INFRA-132 - CRM/Pledge - Misc --- CRM/Pledge/BAO/PledgePayment.php | 3 ++- CRM/Pledge/BAO/Query.php | 3 ++- CRM/Pledge/Selector/Search.php | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CRM/Pledge/BAO/PledgePayment.php b/CRM/Pledge/BAO/PledgePayment.php index 4f6d65785b..97f3bb9177 100644 --- a/CRM/Pledge/BAO/PledgePayment.php +++ b/CRM/Pledge/BAO/PledgePayment.php @@ -633,7 +633,8 @@ WHERE civicrm_pledge.id = %2 * * @static */ - static function updatePledgePayments($pledgeId, + static function updatePledgePayments( + $pledgeId, $paymentStatusId, $paymentIds = NULL, $actualAmount = 0, diff --git a/CRM/Pledge/BAO/Query.php b/CRM/Pledge/BAO/Query.php index f7a6bb17f4..d3c66d5416 100644 --- a/CRM/Pledge/BAO/Query.php +++ b/CRM/Pledge/BAO/Query.php @@ -472,7 +472,8 @@ class CRM_Pledge_BAO_Query { /** * Ideally this function should include fields that are displayed in the selector */ - static function defaultReturnProperties($mode, + static function defaultReturnProperties( + $mode, $includeCustomFields = TRUE ) { $properties = NULL; diff --git a/CRM/Pledge/Selector/Search.php b/CRM/Pledge/Selector/Search.php index a2b029206b..0c2000c353 100644 --- a/CRM/Pledge/Selector/Search.php +++ b/CRM/Pledge/Selector/Search.php @@ -150,7 +150,8 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { * @return \CRM_Pledge_Selector_Search @access public */ - function __construct(&$queryParams, + function __construct( + &$queryParams, $action = CRM_Core_Action::NONE, $additionalClause = NULL, $single = FALSE, -- 2.25.1