From 13237fa68a05ec4ea7b846240d33b772ca3cc1a8 Mon Sep 17 00:00:00 2001 From: Alex P Date: Thu, 23 Feb 2023 11:24:12 +0200 Subject: [PATCH] Remove type-hint to reduce third-party conflicts --- .../src/Gateway/PayUponInvoice/PayUponInvoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php b/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php index 18ba06048..a047c511f 100644 --- a/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php +++ b/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php @@ -422,7 +422,7 @@ class PayUponInvoice { * * @psalm-suppress MissingClosureParamType */ - function ( $methods ): array { + function ( $methods ) { if ( ! is_array( $methods ) || State::STATE_ONBOARDED !== $this->state->current_state() ) { return $methods; }