Failed Conditions
Push — develop ( 7914de...b6a1b1 )
by Reüel
05:13 queued 10s
created
src/Gateway.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,14 +117,14 @@
 block discarded – undo
117 117
 
118 118
 			if ( Sequence::FIRST === $sequence_type ) {
119 119
 				foreach ( $result as $method => $title ) {
120
-					unset( $result[ $method ] );
120
+					unset( $result[$method] );
121 121
 
122 122
 					// Get WordPress payment method for direct debit method.
123 123
 					$method         = Methods::transform_gateway_method( $method );
124 124
 					$payment_method = array_search( $method, PaymentMethods::get_recurring_methods(), true );
125 125
 
126 126
 					if ( $payment_method ) {
127
-						$results[ $payment_method ] = $title;
127
+						$results[$payment_method] = $title;
128 128
 					}
129 129
 				}
130 130
 			}
Please login to merge, or discard this patch.
src/Methods.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,8 +149,8 @@
 block discarded – undo
149 149
 			return null;
150 150
 		}
151 151
 
152
-		if ( isset( self::$map[ $payment_method ] ) ) {
153
-			return self::$map[ $payment_method ];
152
+		if ( isset( self::$map[$payment_method] ) ) {
153
+			return self::$map[$payment_method];
154 154
 		}
155 155
 
156 156
 		if ( ! empty( $default ) ) {
Please login to merge, or discard this patch.
src/LocaleHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 		 * @link https://www.php.net/array_search
82 82
 		 */
83 83
 		if ( \array_key_exists( $search, $supported ) ) {
84
-			return $supported[ $search ];
84
+			return $supported[$search];
85 85
 		}
86 86
 
87 87
 		return null;
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 					continue;
212 212
 				}
213 213
 
214
-				$issuers[ $id ] = $name;
214
+				$issuers[$id] = $name;
215 215
 			}
216 216
 		}
217 217
 
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
 					continue;
253 253
 				}
254 254
 
255
-				$payment_methods[ $id ] = $name;
255
+				$payment_methods[$id] = $name;
256 256
 			}
257 257
 		}
258 258
 
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
 			}
448 448
 
449 449
 			// @codingStandardsIgnoreStart
450
-			$valid_mandates[ $mandate->createdAt ] = $mandate;
450
+			$valid_mandates[$mandate->createdAt] = $mandate;
451 451
 			// @codingStandardsIgnoreEnd
452 452
 		}
453 453
 
Please login to merge, or discard this patch.