Skip to content

Commit

Permalink
Update since statements
Browse files Browse the repository at this point in the history
  • Loading branch information
dkotter committed Aug 13, 2024
1 parent 4175774 commit 9de40f0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions includes/class-mailchimp-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
/**
* Class Mailchimp_Admin
*
* @since x.x.x
* @since 1.6.0
*/
class Mailchimp_Admin {

/**
* The OAuth base endpoint
*
* @since x.x.x
* @since 1.6.0
* @var string
*/
private $oauth_url = 'https://woocommerce.mailchimpapp.com';
Expand Down Expand Up @@ -193,7 +193,7 @@ public function verify_and_save_oauth_token( $access_token, $data_center ) {
/**
* Display admin notices.
*
* @since x.x.x
* @since 1.6.0
*/
public function admin_notices() {
if ( ! current_user_can( 'manage_options' ) ) {
Expand Down
16 changes: 8 additions & 8 deletions includes/class-mailchimp-data-encryption.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,30 @@
/**
* Class Mailchimp_Data_Encryption
*
* @since x.x.x
* @since 1.6.0
*/
class Mailchimp_Data_Encryption {

/**
* Key to use for encryption.
*
* @since x.x.x
* @since 1.6.0
* @var string
*/
private $key;

/**
* Salt to use for encryption.
*
* @since x.x.x
* @since 1.6.0
* @var string
*/
private $salt;

/**
* Constructor.
*
* @since x.x.x
* @since 1.6.0
*/
public function __construct() {
$this->key = $this->get_default_key();
Expand All @@ -48,7 +48,7 @@ public function __construct() {
*
* If a user-based key is set, that is used. Otherwise the default key is used.
*
* @since x.x.x
* @since 1.6.0
*
* @param string $value Value to encrypt.
* @return string|bool Encrypted value, or false on failure.
Expand All @@ -75,7 +75,7 @@ public function encrypt( $value ) {
*
* If a user-based key is set, that is used. Otherwise the default key is used.
*
* @since x.x.x
* @since 1.6.0
*
* @param string $raw_value Value to decrypt.
* @return string|bool Decrypted value, or false on failure.
Expand Down Expand Up @@ -108,7 +108,7 @@ public function decrypt( $raw_value ) {
/**
* Gets the default encryption key to use.
*
* @since x.x.x
* @since 1.6.0
*
* @return string Default (not user-based) encryption key.
*/
Expand All @@ -128,7 +128,7 @@ private function get_default_key() {
/**
* Gets the default encryption salt to use.
*
* @since x.x.x
* @since 1.6.0
*
* @return string Encryption salt.
*/
Expand Down
4 changes: 2 additions & 2 deletions mailchimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ function mailchimp_sf_create_nonce( $action = -1 ) {
/**
* Get Mailchimp Access Token.
*
* @since x.x.x
* @since 1.6.0
* @return string|bool
*/
function mailchimp_sf_get_access_token() {
Expand All @@ -1399,7 +1399,7 @@ function mailchimp_sf_get_access_token() {
/**
* Should display Mailchimp Signup form.
*
* @since x.x.x
* @since 1.6.0
* @return bool
*/
function mailchimp_sf_should_display_form() {
Expand Down

0 comments on commit 9de40f0

Please sign in to comment.