Failed Conditions
Push — develop ( f08fef...1e4ebf )
by Reüel
05:37
created
src/PaymentMethodType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,8 +117,8 @@
 block discarded – undo
117 117
 			return null;
118 118
 		}
119 119
 
120
-		if ( isset( self::$map[ $payment_method ] ) ) {
121
-			return self::$map[ $payment_method ];
120
+		if ( isset( self::$map[$payment_method] ) ) {
121
+			return self::$map[$payment_method];
122 122
 		}
123 123
 
124 124
 		return $default;
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
 				$id   = Security::filter( $issuer['id'] );
265 265
 				$name = Security::filter( $issuer['name'] );
266 266
 
267
-				$issuers[ $id ] = $name;
267
+				$issuers[$id] = $name;
268 268
 			}
269 269
 		}
270 270
 
@@ -307,13 +307,13 @@  discard block
 block discarded – undo
307 307
 					foreach ( $details as $detail ) {
308 308
 						$key = $detail['key'];
309 309
 
310
-						$method['details'][ $key ] = $detail;
310
+						$method['details'][$key] = $detail;
311 311
 
312
-						unset( $method['details'][ $key ]['key'] );
312
+						unset( $method['details'][$key]['key'] );
313 313
 					}
314 314
 				}
315 315
 
316
-				$payment_methods[ $type ] = $method;
316
+				$payment_methods[$type] = $method;
317 317
 			}
318 318
 		}
319 319
 
Please login to merge, or discard this patch.