Skip to content

Commit

Permalink
Make type strict
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Jul 31, 2022
1 parent a75d997 commit 221ce8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v3/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 221ce8c

Please sign in to comment.