Skip to content

Commit c9cf283

Browse files
committed
Fix spacing issue.
1 parent 4124d36 commit c9cf283

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

includes/class-mailchimp-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @package Mailchimp
66
*/
77

8-
// Exit if accessed directly.
8+
// Exit if accessed directly.
99
if ( ! defined( 'ABSPATH' ) ) {
1010
exit;
1111
}

includes/class-mailchimp-data-encryption.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function encrypt( $value ) {
6767
return false;
6868
}
6969

70-
return base64_encode( $iv . $raw_value );
70+
return base64_encode( $iv . $raw_value ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode
7171
}
7272

7373
/**
@@ -85,7 +85,7 @@ public function decrypt( $raw_value ) {
8585
return $raw_value;
8686
}
8787

88-
$decoded_value = base64_decode( $raw_value, true );
88+
$decoded_value = base64_decode( $raw_value, true ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode
8989

9090
if ( false === $decoded_value ) {
9191
return $raw_value;

lib/mailchimp/mailchimp.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ public function __construct( $access_token, $data_center = '' ) {
6161

6262
// No data center provided, so we'll assume it's in the API key.
6363
if ( ! $data_center ) {
64-
$this->key = $access_token;
65-
$dc = explode( '-', $access_token );
66-
$this->datacenter = empty( $dc[1] ) ? 'us1' : $dc[1];
64+
$this->key = $access_token;
65+
$dc = explode( '-', $access_token );
66+
$this->datacenter = empty( $dc[1] ) ? 'us1' : $dc[1];
6767
} else {
68-
$this->access_token = $access_token;
69-
$this->datacenter = $data_center;
68+
$this->access_token = $access_token;
69+
$this->datacenter = $data_center;
7070
}
7171

72-
$this->api_url = 'https://' . $this->datacenter . '.api.mailchimp.com/3.0/';
72+
$this->api_url = 'https://' . $this->datacenter . '.api.mailchimp.com/3.0/';
7373
}
7474

7575
/**

0 commit comments

Comments
 (0)