@@ -291,7 +291,7 @@ discard block |
||
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 |
||
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 |
@@ -155,8 +155,8 @@ |
||
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; |