@@ -152,14 +152,14 @@ discard block |
||
| 152 | 152 | |
| 153 | 153 | if ( Sequence::FIRST === $sequence_type ) { |
| 154 | 154 | foreach ( $result as $method => $title ) { |
| 155 | - unset( $result[ $method ] ); |
|
| 155 | + unset( $result[$method] ); |
|
| 156 | 156 | |
| 157 | 157 | // Get WordPress payment method for direct debit method. |
| 158 | 158 | $method = Methods::transform_gateway_method( $method ); |
| 159 | 159 | $payment_method = array_search( $method, PaymentMethods::get_recurring_methods(), true ); |
| 160 | 160 | |
| 161 | 161 | if ( $payment_method ) { |
| 162 | - $results[ $payment_method ] = $title; |
|
| 162 | + $results[$payment_method] = $title; |
|
| 163 | 163 | } |
| 164 | 164 | } |
| 165 | 165 | } |
@@ -687,7 +687,7 @@ discard block |
||
| 687 | 687 | } |
| 688 | 688 | |
| 689 | 689 | // Get customer ID for subscription. |
| 690 | - $customer_id = $this->get_customer_id_for_subscription( $subscription ); |
|
| 690 | + $customer_id = $this->get_customer_id_for_subscription( $subscription ); |
|
| 691 | 691 | |
| 692 | 692 | if ( null === $customer_id ) { |
| 693 | 693 | return; |