Skip to content
Snippets Groups Projects
Commit c2a8b6d7 authored by Rich Lott / Artful Robot's avatar Rich Lott / Artful Robot Committed by mattwire
Browse files

Fix pre php8 function signatures

parent aaf66a0d
No related branches found
No related tags found
1 merge request!257Minor refactor of doPayment, extracting to separate functions. NFC.
Pipeline #3013 skipped
......@@ -157,8 +157,10 @@ class CRM_Core_Payment_StripeCheckout extends CRM_Core_Payment_Stripe {
/**
* This gathers the line items which are then used in buildCheckoutLineItems()
*
* @param array|PropertyBag $paymentParams
*/
public function calculateLineItems(array|PropertyBag $paymentParams): array {
public function calculateLineItems($paymentParams): array {
$lineItems = [];
if (!empty($paymentParams['skipLineItem']) || empty($paymentParams['line_item'])) {
if (!empty($paymentParams['participants_info'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment