Test Failed
Push — develop ( abf4e1...29070a )
by Reüel
03:42
created
src/Gateway.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -152,14 +152,14 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.