Passed
Push — develop ( 5ee326...33977d )
by Remco
03:28
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.
src/Gateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -288,7 +288,7 @@
 block discarded – undo
288 288
 			foreach ( $payment_method->details as $detail ) {
289 289
 				if ( 'issuer' === $detail->key && 'select' === $detail->type ) {
290 290
 					foreach ( $detail->items as $item ) {
291
-						$issuers[ $item->id ] = $item->name;
291
+						$issuers[$item->id] = $item->name;
292 292
 					}
293 293
 				}
294 294
 			}
Please login to merge, or discard this patch.