Remove type-hint to reduce third-party conflicts

This commit is contained in:
Alex P 2023-02-23 11:24:12 +02:00
parent 50b7066afb
commit 13237fa68a
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -422,7 +422,7 @@ class PayUponInvoice {
* *
* @psalm-suppress MissingClosureParamType * @psalm-suppress MissingClosureParamType
*/ */
function ( $methods ): array { function ( $methods ) {
if ( ! is_array( $methods ) || State::STATE_ONBOARDED !== $this->state->current_state() ) { if ( ! is_array( $methods ) || State::STATE_ONBOARDED !== $this->state->current_state() ) {
return $methods; return $methods;
} }