Skip to content
Snippets Groups Projects
Commit 829cf7a1 authored by Rich Lott / Artful Robot's avatar Rich Lott / Artful Robot
Browse files

Fix pre php8 function signatures

parent 3c547ed0
No related branches found
No related tags found
No related merge requests found
......@@ -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.
Please register or to comment