Failed Conditions
Push — develop ( e249b8...ef0a62 )
by Remco
02:54
created
src/PaymentMethodType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,8 +155,8 @@
 block discarded – undo
155 155
 	 * @return string|null
156 156
 	 */
157 157
 	public static function transform( $payment_method ) {
158
-		if ( isset( self::$map[ $payment_method ] ) ) {
159
-			return self::$map[ $payment_method ];
158
+		if ( isset( self::$map[$payment_method] ) ) {
159
+			return self::$map[$payment_method];
160 160
 		}
161 161
 
162 162
 		return null;
Please login to merge, or discard this patch.