@@ -117,8 +117,8 @@ |
||
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; |
@@ -264,7 +264,7 @@ discard block |
||
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 |
||
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 |