@@ -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; |
@@ -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 | |