@@ -92,7 +92,7 @@ |
||
| 92 | 92 | // Use line item name as fallback for description. |
| 93 | 93 | if ( null === $description ) { |
| 94 | 94 | /* translators: %s: item index */ |
| 95 | - $description = sprintf( __( 'Item %s', 'pronamic_ideal' ), $i++ ); |
|
| 95 | + $description = sprintf( __( 'Item %s', 'pronamic_ideal' ), $i ++ ); |
|
| 96 | 96 | |
| 97 | 97 | if ( null !== $line->get_name() && '' !== $line->get_name() ) { |
| 98 | 98 | $description = $line->get_name(); |
@@ -313,7 +313,7 @@ |
||
| 313 | 313 | foreach ( $details as $detail ) { |
| 314 | 314 | if ( 'issuer' === $detail->key && 'select' === $detail->type ) { |
| 315 | 315 | foreach ( $detail->items as $item ) { |
| 316 | - $issuers[ $item->id ] = $item->name; |
|
| 316 | + $issuers[$item->id] = $item->name; |
|
| 317 | 317 | } |
| 318 | 318 | } |
| 319 | 319 | } |
@@ -160,7 +160,7 @@ |
||
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | if ( array_key_exists( $payment_method, self::$map ) ) { |
| 163 | - return self::$map[ $payment_method ]; |
|
| 163 | + return self::$map[$payment_method]; |
|
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | return null; |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | __( 'test', 'pronamic_ideal' ) => 'https://ca-test.adyen.com/ca/ca/login.shtml', |
| 42 | 42 | __( 'live', 'pronamic_ideal' ) => 'https://ca-live.adyen.com/ca/ca/login.shtml', |
| 43 | 43 | ); |
| 44 | - $this->supports = array( |
|
| 44 | + $this->supports = array( |
|
| 45 | 45 | 'webhook', |
| 46 | 46 | 'webhook_log', |
| 47 | 47 | ); |