Failed Conditions
Push — master ( 087150...9b6efe )
by Reüel
11:00 queued 03:51
created
src/WooCommerce.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
 		if ( \array_key_exists( $santander_id, $gateways ) ) {
39 39
 			// Check MultiSafepay gateway.
40
-			$gateway = $gateways[ $santander_id ];
40
+			$gateway = $gateways[$santander_id];
41 41
 
42 42
 			$gateway_id = \get_post_meta( (int) $gateway->settings['config_id'], '_pronamic_gateway_id', true );
43 43
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
 			// Unset gateway if cart amount minimum not met.
47 47
 			if ( 'multisafepay-connect' === $gateway_id && $total->get_value() < 250 ) {
48
-				unset( $gateways[ $santander_id ] );
48
+				unset( $gateways[$santander_id] );
49 49
 			}
50 50
 		}
51 51
 
Please login to merge, or discard this patch.