From: Eileen McNaughton Date: Sun, 31 Jul 2022 19:59:32 +0000 (+1000) Subject: Make type strict X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e70480b5024b3781984ac1e97d58d422e5529a80;p=civicrm-core.git Make type strict --- diff --git a/api/v3/Contribution.php b/api/v3/Contribution.php index 83f8b91064..8cd09aa667 100644 --- a/api/v3/Contribution.php +++ b/api/v3/Contribution.php @@ -476,7 +476,7 @@ function _civicrm_api3_contribution_sendconfirmation_spec(&$params) { * @throws \CRM_Core_Exception * @throws \Exception */ -function civicrm_api3_contribution_completetransaction($params) { +function civicrm_api3_contribution_completetransaction($params): array { $contribution = new CRM_Contribute_BAO_Contribution(); $contribution->id = $params['id']; if (!$contribution->find(TRUE)) {