@@ -166,14 +166,14 @@ discard block |
||
| 166 | 166 | |
| 167 | 167 | if ( Sequence::FIRST === $sequence_type ) { |
| 168 | 168 | foreach ( $result as $method => $title ) { |
| 169 | - unset( $result[ $method ] ); |
|
| 169 | + unset( $result[$method] ); |
|
| 170 | 170 | |
| 171 | 171 | // Get WordPress payment method for direct debit method. |
| 172 | 172 | $method = Methods::transform_gateway_method( $method ); |
| 173 | 173 | $payment_method = array_search( $method, PaymentMethods::get_recurring_methods(), true ); |
| 174 | 174 | |
| 175 | 175 | if ( $payment_method ) { |
| 176 | - $results[ $payment_method ] = $title; |
|
| 176 | + $results[$payment_method] = $title; |
|
| 177 | 177 | } |
| 178 | 178 | } |
| 179 | 179 | } |
@@ -736,7 +736,7 @@ discard block |
||
| 736 | 736 | if ( false !== $mollie_chargeback ) { |
| 737 | 737 | $subscriptions = array_filter( |
| 738 | 738 | $payment->get_subscriptions(), |
| 739 | - function ( $subscription ) { |
|
| 739 | + function( $subscription ) { |
|
| 740 | 740 | return SubscriptionStatus::ACTIVE === $subscription->get_status(); |
| 741 | 741 | } |
| 742 | 742 | ); |