Fix "Access to undefined property" rule violations

This commit is contained in:
Tautvidas Sipavičius
2019-01-23 11:33:47 +02:00
parent b2bb7b0023
commit 9f13f68e39
25 changed files with 75 additions and 8 deletions

View File

@ -7,7 +7,8 @@ class MailChimp {
public $api_key;
public $max_post_size;
public $data_center;
public $export_url;
private $export_url;
private $lists_url;
const API_KEY_REGEX = '/[a-zA-Z0-9]{32}-[a-zA-Z0-9]{2,4}$/';
function __construct($api_key) {
@ -145,4 +146,4 @@ class MailChimp {
}
throw new \Exception($errorMessage);
}
}
}