@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | |
111 | 111 | $memberpress_subscription_id = (string) \get_post_meta( $subscription_post->ID, '_pronamic_subscription_source_id', true ); |
112 | 112 | |
113 | - $this->subscriptions_map[ $memberpress_subscription_id ] = $subscription_post; |
|
113 | + $this->subscriptions_map[$memberpress_subscription_id] = $subscription_post; |
|
114 | 114 | } |
115 | 115 | |
116 | 116 | return $this->subscriptions_map; |
@@ -153,8 +153,8 @@ discard block |
||
153 | 153 | |
154 | 154 | $memberpress_subscription_id = $rec->id; |
155 | 155 | |
156 | - if ( isset( $map[ $memberpress_subscription_id ] ) ) { |
|
157 | - $pronamic_subscription_post = $map[ $memberpress_subscription_id ]; |
|
156 | + if ( isset( $map[$memberpress_subscription_id] ) ) { |
|
157 | + $pronamic_subscription_post = $map[$memberpress_subscription_id]; |
|
158 | 158 | |
159 | 159 | \printf( |
160 | 160 | '<a href="%s">%s</a>', |
@@ -48,7 +48,7 @@ |
||
48 | 48 | continue; |
49 | 49 | } |
50 | 50 | |
51 | - $items[ $p->ID ] = $url; |
|
51 | + $items[$p->ID] = $url; |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | ?> |
@@ -48,7 +48,7 @@ |
||
48 | 48 | continue; |
49 | 49 | } |
50 | 50 | |
51 | - $items[ $p->ID ] = $url; |
|
51 | + $items[$p->ID] = $url; |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | ?> |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | $memberpress_transaction_id = $rec->id; |
112 | 112 | |
113 | 113 | if ( \array_key_exists( $memberpress_transaction_id, $this->payments_map ) ) { |
114 | - $pronamic_payment_post = $this->payments_map[ $memberpress_transaction_id ]; |
|
114 | + $pronamic_payment_post = $this->payments_map[$memberpress_transaction_id]; |
|
115 | 115 | |
116 | 116 | \printf( |
117 | 117 | '<a href="%s">%s</a>', |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | foreach ( $payment_posts as $payment_post ) { |
181 | 181 | $memberpress_transaction_id = (string) \get_post_meta( $payment_post->ID, '_pronamic_payment_source_id', true ); |
182 | 182 | |
183 | - $this->payments_map[ $memberpress_transaction_id ] = $payment_post; |
|
183 | + $this->payments_map[$memberpress_transaction_id] = $payment_post; |
|
184 | 184 | } |
185 | 185 | |
186 | 186 | return $paths; |