X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FMembershipPayment.php;h=633db9681e395c50e036ced58bfd5617d4078667;hb=86128f7ae6ab7f8541d6d60664464c1f86fcf6a5;hp=ef78bd5f731062d3ea9a69397a42e32125d66629;hpb=832f3e1f078d2ae5fcd1ea70276f16716080af6d;p=civicrm-core.git diff --git a/api/v3/MembershipPayment.php b/api/v3/MembershipPayment.php index ef78bd5f73..633db9681e 100644 --- a/api/v3/MembershipPayment.php +++ b/api/v3/MembershipPayment.php @@ -56,11 +56,11 @@ function civicrm_api3_membership_payment_create($params) { function _civicrm_api3_membership_payment_create_spec(&$params) { $params['membership_id']['api.required'] = 1; $params['contribution_id']['api.required'] = 1; - $params['membership_type_id'] = array( + $params['membership_type_id'] = [ 'title' => 'Membership type id', 'description' => 'The id of the membership type', 'type' => CRM_Utils_Type::T_INT, - ); + ]; } /**