Fix PHPStan errors in unit tests

[MAILPOET-2429]
This commit is contained in:
Jan Jakeš
2019-10-16 13:36:43 +02:00
committed by Jack Kitterhing
parent 5c2cf6e3c7
commit eb02627a98
9 changed files with 44 additions and 11 deletions

View File

@@ -7,6 +7,15 @@ use MailPoet\Subscribers\ImportExport\Import\MailChimp;
use MailPoet\WP\Functions as WPFunctions;
class MailChimpTest extends \MailPoetUnitTest {
/** @var string */
private $api_key;
/** @var MailChimp */
private $mailchimp;
/** @var array */
private $lists;
function __construct() {
parent::__construct();
$this->api_key = getenv('WP_TEST_IMPORT_MAILCHIMP_API');