Failed Conditions
Push — develop ( 2959a9...86f40d )
by Remco
03:49
created
src/Client.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
 				$id   = Security::filter( $issuer->id );
292 292
 				$name = Security::filter( $issuer->name );
293 293
 
294
-				$issuers[ $id ] = $name;
294
+				$issuers[$id] = $name;
295 295
 			}
296 296
 		}
297 297
 
@@ -333,13 +333,13 @@  discard block
 block discarded – undo
333 333
 					foreach ( $payment_method->details as $detail ) {
334 334
 						$key = $detail->key;
335 335
 
336
-						$method['details'][ $key ] = $detail;
336
+						$method['details'][$key] = $detail;
337 337
 
338
-						unset( $method['details'][ $key ]->key );
338
+						unset( $method['details'][$key]->key );
339 339
 					}
340 340
 				}
341 341
 
342
-				$payment_methods[ $type ] = $method;
342
+				$payment_methods[$type] = $method;
343 343
 			}
344 344
 		}
345 345
 
Please login to merge, or discard this patch.
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.